Question: What are the different types of locators in Selenium?
Answer: In Selenium every object or control in a web page is referred as an elements. To identify web elements accurately and precisely we have different types of locators in Selenium:
ID ClassName Name TagName LinkText PartialLinkText Xpath CSS Selector DOM
Question:
What are the different types of locators in Selenium? Answer:
In Selenium every object or control in a web page is referred as an elements. To identify web elements accurately and precisely we have different types of locators in Selenium:
ID ClassName Name TagName LinkText PartialLinkText Xpath CSS Selector DOM Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.