WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

WinAppDriver + Appium return hidden elements as "no such element" for .NET framework 4.8.1

Open zewer opened this issue 1 year ago • 1 comments

WinAppDriver 1.2.1 Appium 1.19.1

Hello I'm automating WPF application and recently my team did minor application upgrade from .NET framework 4.7.2 to the 4.8.1 After that WinAppDriver + Appium started returning all hidden elements as they are not present anymore.

[STDOUT] {"status":7,"value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters."}} [WD Proxy] Got response with status 404: {"status":7,"value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters."}}

I have tried to work with PageSource and can confirm they are not there anymore. Inspector.exe can still see all of them

Is this a known issue? Any possible solutions for this situation? P.S. For 4.7.2 .NET Framework WPF application everything was visible perfectly

zewer avatar Nov 29 '24 14:11 zewer

If inspect.exe can find the element then winapp driver will find the element.

anunay1 avatar Jan 02 '25 14:01 anunay1