MouseMove

class MouseMove(coordinates: Point | RelativelyPoint, mover: BaseMover = <apparser.movers.default.DefaultMover object>)[source]

Bases: UiInstruction

Move the mouse cursor to the provided coordinates.

property id: int

Return the unique UI instruction identifier.

Returns:

UI instruction identifier.

Return type:

int

perform(ui: BaseUi, *args, **kwargs)[source]

Execute the instruction for the provided UI context.

Parameters:
  • ui (BaseUi) – UI instance used during execution.

  • args – Additional positional arguments for the execution flow.

  • kwargs – Additional keyword arguments for the execution flow.