Quantcast
Channel: How to disable "Warn before quitting" in Chrome using Java/Selenium? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to disable "Warn before quitting" in Chrome using Java/Selenium?

$
0
0

When developing in Selenium you frequently open a new browser and if the test fails/doesn't tear down as it should you manually have to quit the browser. By default, Chrome doesn't quit immediately if you use the keyboard shortcut, instead you have to press and hold the keys for a while. This feature makes sense when the user is a human but as a Selenium developer it gets old very fast to wait for Chrome to quit when you want get back to your IDE as fast a possible.

Can this feature Warn before quitting in Chrome be disabled from Java/Selenium? Even programmatically sending a click to open a menu and disabling it that way is a valid solution.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images