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
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
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +