Tell us what is the difference between single slash (/) and a double slash ( //) in XPath?

Submitted by: Muhammad
A single slash (/) is used for creating XPaths with absolute paths beginning from the root node.

Double slash (//) is used for creating relative XPath to start selection from anywhere within the root node
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers