• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Selenium by
Q:
List out different types of locators?

1 Answer

0 votes
by
Different types of locators are

By.id()

By.name()

By.tagName()

By.className()

By.linkText()

By.partialLinkText()

By.xpath

By.cssSelector()

Related questions

0 votes
asked Aug 19, 2019 in Selenium by rahulsharma
0 votes
asked Aug 19, 2019 in Selenium by rahulsharma
...