Selenium WebDriver - What are different types of locators ?
Selenium WebDriver Interview question and Answers
(Continued from previous question...)
Selenium WebDriver - What are different types of locators ?
There are 8 types of locators and all are the static methods of the By class.
By.id(), By.name(), By.tagName(), By.className(), By.linkText(), By.partialLinkText(), By.xpath, By.cssSelector().
(Continued on next question...)
Other Interview Questions
|