Selenium stops when browser is manually interrupted

When you use Selenium to execute your program/script, Selenium needs the focus on the Browser Client which renders the HTML DOM.

Now, when the test execution is In Progress if an user manually clicks somewhere withinin the browser, Selenium looses the focus and an exception will be raised.

Leave a Comment