2gis / Winium.Desktop

Winium.Desktop is Selenium Remote WebDriver implementation for automated testing of Windows application based on WinFroms and WPF platforms.
Mozilla Public License 2.0
402 stars 140 forks source link

How to get handle to desktop with Winium #303

Open Chakri6147 opened 5 years ago

Chakri6147 commented 5 years ago

The application I'm trying to automate, launches another app and exits Driver to the parent is unable to find elements in new app. tried using debugConnectToRunningApp, but it is not able to find elements.

Is there a way to get handle to desktop, So I can traverse to any window from top element

nananand7 commented 4 years ago

If your parent app is browser then use robot/sikuli. If your parent app is desktop, then the newly opened window cannot be handled in winium.

But if the newly opened window is a browser, then i have some workaround to do that. please let me know if you need that. @Chakri6147