As a user I want to see full locator path at any given moment
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"
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?