For example,
xpath=/html/body/table[@id='table1']/tbody/tr/tdis the absolute xpath locator for link11 element in below HTML code:
<html> <body> <table id="table1" border="1" cellspacing="10" cellpadding="10"> <tbody> <tr><td>link11</td><td>link12</td></tr> <tr><td>link21</td><td>link22</td></tr> </tbody> </table> </body> </html>
0 Comments
What would you like to add in my list? I look forward to reading your comments below.