VAIBHAV SINGH
Selenium Interview Question

Question : What are the different types of locators in Selenium?

Locator can be termed as an address that identifies a web element uniquely within the webpage. we have different types of locators in Selenium:

1 - ID
2 - ClassName
3 - Name
4 - TagName
5 - LinkText
6 - PartialLinkText
7 - Xpath
8 - CSS Selector
9 - DOM


Back