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
Tell us how will you use selenium to upload a file?
What are the annotations used in testng?
What is soft assertion in selenium?
What are the different exceptions you got when working with webdriver?
Using selenium how can you handle network latency?
Tell us how many exceptions do you know in selenium webdriver?
How to handle alerts in selenium?
What does a concentrator do in the selenium network?
How do I upload a file using selenium? I need to upload a word file during test execution.
What is the difference between “type” and “type and wait for” command?
How to select a value in a dropdown?
How to login to any site if it’s showing any authentication popup for
What is selenium 1.0?
Which of the selector ID, name, XPath or CSS should I use?
Describe technical problems that you had with selenium tool?