Question: what is the difference between a single and double slash used in xpath?
Answer: 3 Answers. A double slash " // " means any descendant node of the current node in the HTML tree which matches the locator. A single slash " / " means a node which is a direct child of the current.