-
Notifications
You must be signed in to change notification settings - Fork 12
gui.Click calls backend.move? #57
Copy link
Copy link
Open
Description
Why does click require a movement? The backend should handle this.
This causes failure when the screen doesn't do movements, ie. a touchscreen.
def _click(self, finder, button, times, options):
merged_opts = self._opts.merge(options)
location = self.wait_find_one(finder, **options)
with self._backend.actions_transaction() as actions:
self._move(actions, location.main_point, merged_opts)
Reactions are currently unavailable