Problem while grabbing Xpath of an element on the Website

issues
xpath

#1

Hi,

I am trying to grab Xpath of elements on the website to automate a workflow. For some reason I don’t see the grab Xpath Option after highlighting and right clicking the element now, when I am trying to do the same.

Why would it show grab XPath option randomly for couple of times and rest of the times it won’t. Is it just happening to me?

Please Help!!

Regards,
Ankit


#2

@Sharma_Nikhil - please provide examples where the XPath does not work - url to website and screenshots when you right-click with mouse.


#3

As a workaround, you can install any other XPath plugin for Chrome or Firefox

OR

copy element XPath in developer tools:

down vote
Let tell you a simple formula to find xpath of any element:

1- Open site in browser

2- Select element and right click on it

3- Click inspect element option

4- Right click on selected html

5- choose option to copy xpath Use it where ever you need it


#4

Hello!

Can you please send a link for the XPath too which is mentioned in your videos? I have gone around a few now and nothing seems to be working. All I need is an expath for a web page in explorer.

Thank you!


#5

Hello!

Can you please send a link for the XPath too which is mentioned in your videos? I have gone around a few now and nothing seems to be working. All I need is an expath for a web page in explorer.

Thank you!