What is difference between / & //
Answer / 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 |
What are soft assert and hard assert in selenium?
How can we select elements by their attribute value using css selector?
Mention what is desired capability? How is it useful in terms of selenium?
What’s selenese?
How can one get side to always record an absolute url for the open command's argument?
What is the difference between selenium and qtp?
What happen if you mix both implicit wait and explicit wait in a selenium script?
What is the reason to use the selenium grid?
What is the use of get options () method?
What are the different exceptions you have faced in selenium webdriver?
What if you have written your own element locator and how would you test it?
What is same origin policy and how it can be handled?