In upgrading to Selenium 3 we realized that the test hooks that WebdriverJs provides into Mocha are no longer compatible. We used to do this: which fails with a generic error message: TypeError: Cannot read property ‘call’ of undefined It turns out you can no longer pass a description to the WebdriverJs/Mocha hooks (test.before, test.after … Continue reading “WebdriverJs & Mocha in Selenium 3”