WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Time taken and Memory Leakage while accessing UI elements through WinAppDriver keep increasing with time.

Open pradeepkumar-devaraj opened this issue 7 years ago • 1 comments

I use WinAppDriver to automate button click. To avoid performance hit, instead of using "app", "root", I use capabilities.SetCapability("appTopLevelWindow", topLevelWindowHandle);

Still finding an element by it's Id or Name takes more time (around 5 seconds initially) and the problem gets worse when WinAppDriver runs continuously for more than 30 minutes or 1 hour.

It is clear from Task manager that memory consumed by the application (which is automated) continues to grow for each function call on WindowsDriver object.

Please check and provide a solution. Thanks.

pradeepkumar-devaraj avatar Jul 16 '19 13:07 pradeepkumar-devaraj

It would be nice to have a workaround atleast so that automation is little faster than manual execution. :)

giri-ganesh avatar Sep 19 '19 12:09 giri-ganesh