ChromeDriver – Disable developer mode extensions pop up on Selenium WebDriver automation

When I’m running my automation tests, I keep getting the following alert “Disable Developer Mode Extension” in Chrome.

ChromeDriver - Disable developer mode extensions pop up on Selenium WebDriver automation

ChromeDriver - Disable developer mode extensions pop up on Selenium WebDriver automation

Add Comment
  • 1 Answer(s)

    use alert class

     

    Alert popup= driver.switchto().alert();

    pop.dismiss(); // clicks cancel

    pop.accept(); // clicks ok

     

    Default Answered on May 5, 2017.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.