pywinauto_recorder.player.move

pywinauto_recorder.player.move(element_path, duration=0.5, mode=<MoveMode.linear: 0>, timeout=120)

Moves on element

Parameters
  • element_path (Union[str, UIAWrapper, NewType()(UI_Coordinates, (<class ‘float’>, <class ‘float’>))]) – element path

  • duration (Optional[float]) – duration in seconds of the mouse move (if duration is -1 the mouse cursor doesn’t move)

  • mode (Enum) – move mouse mode

  • timeout (float) – period of time in seconds that will be allowed to find the element

Return type

Union[str, UIAWrapper, NewType()(UI_Coordinates, (<class ‘float’>, <class ‘float’>))]

Returns

Pywinauto wrapper of clicked element