Enter your email address:
When I’m running my automation tests, I keep getting the following alert “Disable Developer Mode Extension” in Chrome.
use alert class
Alert popup= driver.switchto().alert();
pop.dismiss(); // clicks cancel
pop.accept(); // clicks ok