Chrome browser options

Common browser options that we configure in browser_types.xml for Google Chrome (for optimal behavior as well as mobile emulation):

Normal browser

--user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --incognito --proxy-server=localhost:9999 --no-first-run --start-maximized --disable-popup-blocking --test-type --ignore-certificate-errors --disable-save-password-bubble --disable-translate --disable-client-side-phishing-detection --safebrowsing-disable-auto-update

iPhone

--user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --incognito --proxy-server=localhost:9999 --no-first-run --disable-popup-blocking --test-type --ignore-certificate-errors --disable-save-password-bubble --disable-translate --disable-client-side-phishing-detection --safebrowsing-disable-auto-update --user-agent=Mozilla/5.0.(iPhone.U.CPU.OS.3_2.like.Mac.OS.X.en-us).AppleWebKit/531.21.10.(KHTML.like.Gecko).Version/4.0.4.Mobile/7B334b.Safari/531.21.10 --window-size=339,659

iPad

--user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --incognito --proxy-server=localhost:9999 --no-first-run --disable-popup-blocking --test-type --ignore-certificate-errors --disable-save-password-bubble --disable-translate --disable-client-side-phishing-detection --safebrowsing-disable-auto-update -user-agent=Mozilla/5.0.(iPad;.CPU.OS.7_0.like.Mac.OS.X).AppleWebKit/537.51.1.(KHTML,.like.Gecko).Version/7.0.Mobile/11A465.Safari/9537.53 --window-size=1042,859

 

Â