1 Answer

0 votes
by
In Selenium WebDriver, there are 8 different types of locators:

ID – Practical example

ClassName – Practical example

Name – Practical example

TagName – Practical example

LinkText – Practical example

PartialLinkText – Practical example

XPath – Practical example

CSS Selector – Practical example

Click here to see the detailed post on Locators.

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales
0 votes
asked Aug 21, 2019 in Selenium by john ganales
...