Hello @everyone,
I can now report that this behavior is resolved with the following configuration (see below)!
Passing Test Case:
Via Katalon Studio UI, select Project > Settings > Desired Capabilities > Web UI > Chrome. The Args, ExcludeSwitches and Prefs I’ve utilized, can be applied in 1 of 3 ways.
Option 1: Import via Desired Capabilities > Web UI > Chrome UI
- Select Import
- Download this file chrome_caps.json (772 Bytes) to whichever directory you wish
- Choose Browse… and select the chrome_caps.json file from wherever it is located
Option 2: Locally update the ‘com.kms.katalon.core.webui.chrome.properties’ file
- Navigate to the following directory: C:\Users\Katalon Studio\settings\internal\com.kms.katalon.core.webui.chrome.properties
- Download this file com.kms.katalon.core.webui.chrome.properties (714 Bytes) to whichever directory you wish
- Replace the downloaded file with the local version
com.kms.katalon.core.webui.chrome.properties contents:
{“CHROME_DRIVER”:{“args”:[“–disable-component-update”,“–disable-dev-shm-usage”,“–disable-features=ChromeManagement,EnterprisePolicy”,“–disable-features=SafeBrowsing,PasswordLeakToggleMove”,“–disable-infobars”,“–disable-notifications”,“–disable-popup-blocking”,“–disable-save-password-bubble”,“–disable-single-click-autofill”,“–force-device-scale-factor=1”,“–guest”,“–incognito”,“–lang=en-US”,“–override-language-detection”,“–password-store\u003dbasic”,“–start-maximized”],“excludeSwitches”:[“enable-automation”,“load-extension”],“prefs”:{“credentials_enable_service”:false,“profile.password_manager_enabled”:false,“profile.password_manager_leak_detection”:false,“autofill.profile_enabled”:false}}}
Option 3: Update manually via Desired Capabilities > Web UI > Chrome UI
Select Add for each of the following:
-
Name = args, Type = List, Value = … to expand and include the following properties:
–disable-component-update
–disable-dev-shm-usage
–disable-features=ChromeManagement,EnterprisePolicy
–disable-features=SafeBrowsing,PasswordLeakToggleMove
–disable-infobars
–disable-notifications
–disable-popup-blocking
–disable-save-password-bubble
–disable-single-click-autofill
–force-device-scale-factor=1
–guest
–incognito
–lang=en-US
–override-language-detection
–password-store\u003dbasic
–start-maximized
-
Name = excludeSwitches, Type = List, Value = … to expand and include the following properties:
enable-automation
load-extension
-
Name = prefs, Type = Dictionary, Value = … to expand and include the following properties:
credentials_enable_service: false
profile.password_manager_enabled: false
profile.password_manager_leak_detection: false
autofill.profile_enabled: false
I hope this helps future Users!
Respectfully,
Chris