* Inserts an action for moving the mouse `x` and `y` pixels relative to the * specified `origin`. The `origin` may be defined as the mouse's * plain ./input.Origin.POINTER current position, the top-left corner of the * plain ./input.Origin.VIEWPORT viewport, or the center of a
({ x = 0, y = 0, duration = 100, origin = Origin.VIEWPORT } = {})
| 873 | * @return {!Actions} a self reference. |
| 874 | */ |
| 875 | move({ x = 0, y = 0, duration = 100, origin = Origin.VIEWPORT } = {}) { |
| 876 | return this.insert(this.mouse_, this.mouse_.move({ x, y, duration, origin })) |
| 877 | } |
| 878 | |
| 879 | /** |
| 880 | * Short-hand for performing a simple left-click (down/up) with the mouse. |
no test coverage detected