Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Explain the difference between single and double slash in X-path? Single slash ‘/ ’
Home
Selenium
Explain the difference between single and double slash in X-path? Single slash ‘/ ’
asked
Aug 19, 2019
in
Selenium
by
rahulsharma
Explain the difference between single and double slash in X-path? Single slash ‘/ ’
#selenium-for-load-testing
selenium-bot-detection
selenium-for-ios
ios-selenium
automated-visual-testing-
selenium
load-testing-selenium
python-selenium
selenium-online-training-videos
learning-selenium
-syllabus
selenium-tools-for-testing
selenium-element
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 20, 2019
by
john ganales
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
...