Created
January 20, 2020 12:47
-
-
Save h4ck4life/ede5ef31aa6fb019eb3cf30d23881e17 to your computer and use it in GitHub Desktop.
Selenium ChromeDriver necessary options to reduce flaky testing
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
ChromeOptions chromeOptions = new ChromeOptions(); | |
chromeOptions.AddArgument("--disable-notifications"); | |
chromeOptions.AddArguments("start-maximized"); | |
chromeOptions.AddArguments("--disable-extensions"); | |
chromeOptions.AddArguments("no-sandbox"); | |
chromeOptions.AddArguments("--ignore-certificate-errors"); | |
chromeOptions.AddArguments("--incognito"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment