Finding Xpath using FireBug and FirePath


Find Xpath using FireBug and FirePath



To find Xpath let us follow the below steps:
  • Step 1: Open Mozilla FireFox Browser
  • Step 2: Download and Install FIREBUG  and restart the browser
  • Step 3:Download and Install FIREPATH  and restart the browser
  • Step 4:Now click on firebug icon in the command tool bar as shown in the below figure


















  • Step 5:In the firebug pop up screen click on "firepath" as shown in the below figure

























  • Step 6:To find Xpath click on the cursor icon and place it on the desired element in the page.




















  • Step 7: Finally use the XPATH obtained in your code.


In our next tutorial let us learn about WebElements in detail!

No comments:

Post a Comment