Element Locators in Selenium

Selenium WebDriver use locators to find the elements on web page with the help of findElement() and findElements() methods provided by WebDriver and WebElement class.
findElement() returns a WebElement object based on a specified search criteria or throw an exception if it does not find any element matching the search criteria.Read More »