1.

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

Answer»

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:

  • ID
  • ClassName
  • Name
  • TagName
  • LinkText
  • PartialLinkText
  • Xpath
  • CSS Selector
  • DOM.


Discussion

No Comment Found