Categories

Dec 6, 2019 in Testing

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

1 Answer

Dec 6, 2019
The locator is nothing but an address that identifies a web element uniquely within the webpage. Thus, to identify web elements accurately and precisely we have different types of locators in Selenium as follows:

ID

ClassName

Name

TagName

linkText

PartialLinkText

Xpath

CSS Selector

DOM
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Dec 6, 2019 in Testing
Aug 22, 2019 in Selenium
May 26, 2019 in Testing
...