Answer Posted / lakshmi
/
1.It starts selection from the document node
2. It Allows you to create 'absolute' path expressions
3. e.g “/html/body/p” matches all the paragraph elements
//
1. It starts selection matching anywhere in the document
2. It Allows you to create 'relative' path expressions
3. e.g“//p” matches all the paragraph elements
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write the code to double click an element in selenium?
How do you get the attribute of the web element?
What are the types of text patterns available in selenium?
What do we mean by selenium 1 and selenium 2?
What is selenium-rc (remote control) ?
Write a code snippet to perform right-click an element in webdriver.
What are the different types of drivers available in webdriver?
What is assertion in selenium?
Can we use selenium rc for tests driving on two different browsers on one operating system without selenium grid?
What is an XPath?
Explain what is group test in testng?
What are the prerequisites to run selenium webdriver?
What are the two modes of views in selenium ide?
How would you test your element locator?
What are the challenges and limitations of selenium webdriver?