What is difference between / & //



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

Post New Answer

More Selenium Interview Questions

What is selenium-rc (remote control) ?

0 Answers  


Explain what is datadriven framework and keyword driven?

0 Answers  


How do you get data from Web Table?

1 Answers   HCL,


What do we mean by selenium 1 and selenium 2?

0 Answers  


Explain what does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.

0 Answers  






Can we use selenium rc to drive tests on two different browsers on one operating system without selenium grid?

0 Answers  


What are the limitations of selenium ide?

1 Answers  


Explain how you can insert a start point in selenium ide?

0 Answers  


List major difference between protractor vs selenium?

0 Answers  


Can we move back and forward in browser using selenium?

0 Answers  


what is selenium Grid

1 Answers  


What is webdriver wait in selenium webdriver?

0 Answers  


Categories