Selenium WebDriver- Locating Strategies

Just like Selenium IDE, WebDriver uses the same set of locating strategies for specifying location of a particular web element.

Since, we are using WebDriver with java; each locating strategy has its own command in Java to locate the web elements.

Note: Locating web elements in Webdriver is performed with the help of findElement() and findElements() method.

A list of Locating Strategies used in WebDriver:

Selenium WebDriver Locating Strategies
Related Tutorial
Follow Us #