Whilst I find the WebDriver API useful, I also find it lacking in certain methods that I wish to do repeatedly throughout my tests. For example, using the driver.findElement(selector).click() method on a WebElement is troublesome when you are automating dynamic JavaScript driven single-page application (SPA) as you’ll often come across ‘stale element’ exceptions as the DOM … Continue reading “Adding your own WebDriverJs helper methods”