-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user I want to see full locator path at any given moment #90
Comments
That is critical issue as currently it is impossible to debug issues or it take huge amount of time |
This is effectively impossible, as the locator resolution is gradual and any kind of locator can be mixed together and also custom code can influence the resolution as well. |
WebElements could be monkey patched to contain the list of resolution steps that were taken to get it, but that is not suitable for logging, only for manual debug exploration. |
so you want to say that you cannot debug locators in any way? |
The way you want it, no. |
@izapolsk could you please pick this issue? |
We should be able to see both in logs and in debug full locator description no matter where I am currently executing my code. For example:
ROOT = ".//a"
CHECKBOX = ".//input"
So for checkbox I should see not only ".//a//input", but full path like "//view_or_whatever//a//input"
The text was updated successfully, but these errors were encountered: