What will be the different kinds of locators in Selenium?

Member

bailey_conroy

by bailey_conroy , in category: Technology , 2 months ago

What will be the different kinds of locators in Selenium?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by cristobal , 2 months ago

Locator might be known as a tackle that identifies an internet component uniquely within the web page. Hence, to identify internet elements correctly and exactly we’ve got different types of locators in Selenium:

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