WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Flaky behavior while automating Chrome_WidgetWin_0

Open birarroshan opened this issue 7 years ago • 2 comments

I am automating appliction which has a window of class 'Chrome_WidgetWin_0'. It has a child of class 'Chrome_RenderWidgetHostHWND'.

When I try to automate the stuff inside, sometimes it works, and other times it does not. Note that, same behavior is shown in Inspect.exe. Automation works only when we can see child elements in Inspect.exe. @timheuer

birarroshan avatar Jul 29 '19 07:07 birarroshan

I'm guess this is an Electron app? If so, I've been fighting the same issue when trying to run tests on a CI/CD release VM, despite them running just fine on my development machine.

Try opening inspect.exe behind the scenes while the test is running. This seems to affect the pagesource generated, somehow.

grpeacock avatar Jul 31 '19 12:07 grpeacock

Tried running with Inspect.exe open, still a flaky case. And also performance degrades when inspect.exe is open

birarroshan avatar Aug 08 '19 06:08 birarroshan