are going to find an element on the page by using the
findElementById() method that is on each of the Browser Driver classes.
findElement calls will return a
WebElement object that we can perform actions on.
Follow these steps to see how it works:
WebElement element = ((FindsById)driver).findElementById("verifybutton");
We have just seen
how we can find an element by using the
findElementById helper method. After running the ...