Added WebDriver methods to find elements using JavaScript.