microsoft / WinAppDriver

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

WinAppDriver gets slow after doing a window switch #1362

Open felipero25 opened 3 years ago

felipero25 commented 3 years ago

I am implementing a solution in JAVA with org.openqa.selenium and the application has an initial logging window once it is logged in it opens another window where the core of the application is, when I make a switch to the new window, when using findElementByAccessibilityId it takes almost an hour to return the found item

anunay1 commented 3 years ago

What is the timout that you have given?

felipero25 commented 3 years ago

el inconveniente es que si le pongo el timeout no encuentra el elemento, en cambio sin timeout se demora casi una hora en encontrar el elemento, pero lo encuentra

LaoSun123 commented 3 years ago

How do you switch windows? Can I attach a code?