pywinauto_recorder.player.find

pywinauto_recorder.player.find(element_path=None, timeout=None)

Finds an element

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

  • timeout (Optional[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