Unable to find the element with X-Path
Error:
Unable to find the element with X-Path ****
When trying to extract an element from a web system, the following message appears:
Unable to find the element with X-Path
And when entering the page and inspecting it finds the element with ease. We tried to use other forms (ID, name, XPath -full, etc) but the issue remains the same.
Solution:
- In this scenario, you need to check whether scrolling is required or the first thing is, you’re searching on the same page or not.
- Sometimes the field is inside the frame, so you need to switch the frame or any other possible attributes.
- Please check all these possibilities and if you’re unable to find any solution then please elaborate about the site and field which you are mapping.