Interview Questions

Selenium WebDriver - How will you find an element using Selenium?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - How will you find an element using Selenium?

In Selenium every object or control in a web page is referred as an elements, there are different ways to find an element in a web page they are

ID
Name
Tag
Attribute
CSS
Linktext
PartialLink Text
Xpath etc

(Continued on next question...)

Other Interview Questions