robocorp / rpaframework

Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used with both Robot Framework and Python
https://www.rpaframework.org/
Apache License 2.0
1.17k stars 227 forks source link

`RPA.Windows` improvements #798

Closed mikahanninen closed 1 year ago

mikahanninen commented 1 year ago
cmin764 commented 1 year ago

Extra closed issue (can be re-opened): https://github.com/robocorp/rpaframework/issues/779

Just in case this epic will provide a solution for it as well.

xylix commented 1 year ago

834 added some error handling, but cases where user starts recording (python -m RPA.Windows or windows-record) if the first click is to desktop, there will be a weird error that makes the underlying library give out errors, and so for now the recording is aborted if this buggy behaviour happens.

But recording clicks on desktop works correctly if another application is clicked first. Unclear to me why initial clicks to desktop are so broken.