I'm trying to get a xpath from to front browser. But can't get it to work. I've tried several websites and xpaths.
There's an error message in the notification center, but it's not really helping since I can't even read the error...
Here's the code:
I think you mean "using Xpath" rather than "getting Xpan", so I hope you don't mind that I have revised your topic title to better reflect the question you have asked.
Get xpath with Java Script
This will greatly help you attract more experienced users to help solve your problem, and will help future readers find your question, and the solution.
Please provide the URL of the target page, along with a screenshot highlighting the text you want, along with the resultant text you want. Then we can offer you much better help.
Tip: How Do I Get The Best Answer in the Shortest Time?
It’s an interesting question which of two things to go all in on:
- XML technologies, such as XPath. (Also XSLT and DOM treewalking.)
- Webby stuff, such as CSS Selectors.
The answer is, of course, both...