Move the mouse to the given coordinates. :param x: The x coordinate. :param y: The y coordinate.
(self, x: int, y: int)
| 394 | ) |
| 395 | |
| 396 | def move_mouse(self, x: int, y: int): |
| 397 | """ |
| 398 | Move the mouse to the given coordinates. |
| 399 | |
| 400 | :param x: The x coordinate. |
| 401 | :param y: The y coordinate. |
| 402 | """ |
| 403 | self.commands.run(f"xdotool mousemove --sync {x} {y}") |
| 404 | |
| 405 | def mouse_press(self, button: Literal["left", "right", "middle"] = "left"): |
| 406 | """ |
no outgoing calls
no test coverage detected