You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer writing tests,
I want my tests to fail if there are any JavaScript errors thrown during my tests execution.
I don't know if what we want here is to be able to access all the output of the browser console or to give a way for the browser to warn that some errors were encountered. In any case, the developer has to have a way to know errors happened.
The text was updated successfully, but these errors were encountered:
It is my understanding that WebDriver immediately returns with a javascript error when an injected script throws an error. For other errors that happen at runtime, these do not affect the user’s ability to use the browser, which is what WebDriver tries to emulate.
I would probably say that this is a duplicate of #406.
As a developer writing tests,
I want my tests to fail if there are any JavaScript errors thrown during my tests execution.
I don't know if what we want here is to be able to access all the output of the browser console or to give a way for the browser to warn that some errors were encountered. In any case, the developer has to have a way to know errors happened.
The text was updated successfully, but these errors were encountered: