• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Selenium by
Q:
What are the Locators available in Selenium?

1 Answer

0 votes
by
In Selenium WebDriver, there are 8 different types of locators:

ID – Practical example

ClassName – Practical example

Name – Practical example

TagName – Practical example

LinkText – Practical example

PartialLinkText – Practical example

XPath – Practical example

CSS Selector – Practical example

Click here to see the detailed post on Locators.

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales
0 votes
asked Aug 22, 2019 in Selenium by john ganales
...