I am using Selenium Webdriver-Java to automate a web application.Suppose the html is somewhat like below:<div id='a1'>   <div>       <div>          <span id='s1'>sometext</span>        </div>    </div></div>To locate a element i am using xpath as below://div[@id='a1']//span[@id='s1']is this xpath a good practiceor is it bad practice to use relative path(//) twice in a single xpath?
is it good practice to use relative path in xpath more than once
java;html;selenium;webdriver;xpath