Javatpoint Logo
Javatpoint Logo

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






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA