Home ยป Selenium Webdriver Locating Strategies

Selenium Webdriver Locating Strategies

by Online Tutorials Library

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

You may also like