Aug 19, 2019 in Selenium
Q: Explain the difference between single and double slash in X-path? Single slash ‘/ ’

1 Answer

0 votes
Aug 20, 2019
Single slash ( / ) start selection from the document node

It allows you to create ‘absolute’ path expressions

Double Slash ‘// ’

Double slash ( // ) start selection matching anywhere in the document

It enables to create ‘relative’ path expressions
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

0 votes
Aug 19, 2019 in Selenium
...