microsoft / WinAppDriver

Windows Application Driver
MIT License
3.66k stars 1.4k forks source link

WinAppDriver replace / for \u002f character (Encoding) #506

Open diegomeneses1 opened 5 years ago

diegomeneses1 commented 5 years ago

At run time, the driver replaces the "/" character for "\u002f" and generates problems for search objects through xpath.

Example My code in java is:

"// * [@ AutomationId = 'Buttonx']"

The error generated on WinAppDriver is: "Error, no souch element" "using": "xpath" "value": "" /u002f /u 002f * [@ AutomationId = 'Buttonx'] ""

winappdrivererrorencode

hassanuz commented 5 years ago

Hi @diegomeneses1,

Thanks for reporting this. We'll look into this further and see if we can reproduce this.

deepak811 commented 3 years ago

Hi , Any update on this issue as still we are struggling with the same issue as explained by
diegomeneses1

liljohnak commented 3 years ago

Still an issue. It works at the element level. Here is my previous comment: https://github.com/microsoft/WinAppDriver/issues/1563#issuecomment-888043461