Last active
April 17, 2022 10:53
-
-
Save pftg/b360ad7f383bf7875141d348cb5d7c93 to your computer and use it in GitHub Desktop.
Tuning Chrome Options for better e2e tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHROME_ARGS = { | |
"allow-running-insecure-content" => nil, | |
"autoplay-policy" => "user-gesture-required", | |
"disable-add-to-shelf" => nil, | |
"disable-background-networking" => nil, | |
"disable-background-timer-throttling" => nil, | |
"disable-backgrounding-occluded-windows" => nil, | |
"disable-breakpad" => nil, | |
"disable-checker-imaging" => nil, | |
"disable-client-side-phishing-detection" => nil, | |
"disable-component-extensions-with-background-pages" => nil, | |
"disable-datasaver-prompt" => nil, | |
"disable-default-apps" => nil, | |
"disable-desktop-notifications" => nil, | |
"disable-dev-shm-usage" => nil, | |
"disable-domain-reliability" => nil, | |
"disable-extensions" => nil, | |
"disable-features" => "TranslateUI,BlinkGenPropertyTrees", | |
"disable-gpu" => nil, | |
"disable-hang-monitor" => nil, | |
"disable-infobars" => nil, | |
"disable-ipc-flooding-protection" => nil, | |
"disable-notifications" => nil, | |
"disable-popup-blocking" => nil, | |
"disable-prompt-on-repost" => nil, | |
"disable-renderer-backgrounding" => nil, | |
"disable-setuid-sandbox" => nil, | |
"disable-site-isolation-trials" => nil, | |
"disable-sync" => nil, | |
"disable-web-security" => nil, | |
"enable-automation" => nil, | |
"enable-features" => "NetworkService,NetworkServiceInProcess", | |
"enable-logging" => "stderr", | |
"force-color-profile" => "srgb", | |
"force-device-scale-factor" => "1", | |
"hide-scrollbars" => nil, | |
"ignore-certificate-errors" => nil, | |
"js-flags" => "--random-seed=1157259157", | |
"log-level" => "0", | |
"metrics-recording-only" => nil, | |
"mute-audio" => nil, | |
"no-default-browser-check" => nil, | |
"no-first-run" => nil, | |
"no-sandbox" => nil, | |
"password-store=basic" => nil, | |
"test-type" => nil, | |
"use-mock-keychain" => nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment