#shorts
What is Single slash ‘/’
in Xpath in selenium:
Single slash ‘/’ is used
when absolute Xpath
is considered for Element
identification for Selenium
WebDriver
What is Double slash ‘//’
in Xpath in selenium:
Double slash ‘//’ is used
when relative Xpath
is considered for Element
identification for Selenium
WebDriver
Relative Xpath ‘//’
is better Element
identification strategy