Hi,
Today we will be learning how to use xpath in webdriver.
To get the Xpath of an element,First move pointer over the element whose Xpath we want to find then Right click and click on Inspect element with Firebug.
To get the Xpath of an element,First move pointer over the element whose Xpath we want to find then Right click and click on Inspect element with Firebug.
Then Right click on the highlighted text in HTML tab in firebug
and then click on Copy Xpath.
and then click on Copy Xpath.
Thats how can we get the Xpath of any element using firebug.:)
0 comments: