Back in 2012 I wrote about how to use WebDriver to automatically check for JavaScript console errors on every page. The solution I proposed involved adding some common JavaScript to every page in your app and then checking that errors object when using WebDriver page object classes. Fortunately since then the WebDriver project now supports … Continue reading “Using WebDriver to automatically check for JavaScript errors on every page (2016 edition)”

https://watirmelon.com/2016/06/29/using-webdriver-to-automatically-check-for-javascript-errors-on-every-page-2016-edition/