Skip to content

Commit

Permalink
Disable annoying extension pop up for reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Oct 6, 2016
1 parent dad67e6 commit 81ff5c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/canopy/reporters.fs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ type LiveHtmlReporter(browser : BrowserStartMode, driverPath : string, ?pinBrows
| Chrome | Chromium ->
let options = OpenQA.Selenium.Chrome.ChromeOptions()
options.AddArgument("test-type") //https://code.google.com/p/chromedriver/issues/detail?id=799
options.AddArguments("--disable-extensions")
new OpenQA.Selenium.Chrome.ChromeDriver(driverPath, options) :> IWebDriver
| ChromeWithOptions options -> new OpenQA.Selenium.Chrome.ChromeDriver(driverPath, options) :> IWebDriver
| ChromeWithOptionsAndTimeSpan(options, timeSpan) -> new OpenQA.Selenium.Chrome.ChromeDriver(driverPath, options, timeSpan) :> IWebDriver
Expand Down

0 comments on commit 81ff5c0

Please sign in to comment.