-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UI automation portal #565
Comments
Agree, also ability to send keyboard/mouse events to particular windows even when they are not focused would be useful |
This would also help to resolve the keepassxc issue with autotyping on wayland. |
This should be resolved with the creation of libei and the appropriate portal updates to go with it already. @KotoWhiskas password managers are a separate problem, and as far as I can see, are a bit stalled in different areas. |
libei is made for emulating devices, not for automating UI. Different use cases, different requirements. |
Is there anything in particular blocking libei from doing this? I'd figure not. You can 100% automate stuff with it. How well, depends.. Another path to take is abusing future accessibility stuff for automation, which I think already works. |
Yes. It operates on the level of a device. It can't warp a pointer to a specific location because devices don't even know there is a thing with locations. Similarly an emulated keyboard can't give you specific text because it has no concept of a keymap. |
sorry, that's not quite correct: libei keyboards can have a keymap that's assigned by the EIS implementation, basically the same as but it's true that libei itself is just a transport layer, most of the decisions would have to be part of the portal API. |
Oh, totally forgot about absolute pointer devices. Maybe it is useful for automation after all? |
Would it be possible to add an automation portal? I'm the developer of Actiona, a UI automation tool, and I'm trying to migrate away from using XTest to simulate mouse and keyboard actions.
I know there is
RemoteDesktop
andScreenCast
, but their use-case is a bit different and they don't provide all the required features.This portal could include input and windowing events/actions, like:
Screenshot.PickColor
, but returns an absolute position)Screenshot.PickColor
does that)The text was updated successfully, but these errors were encountered: