0 votes
in Selenium by
What is meant by a locator and name a few different types of locators present in Selenium.

1 Answer

0 votes
by

A locator is an address for uniquely identifying web elements within a web page. There are different types of locators present in Selenium to identify web elements uniquely and accurately like:

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

Related questions

0 votes
asked Dec 25, 2020 in Selenium by SakshiSharma
+1 vote
asked Jan 5 in Selenium by rajeshsharma
...