pywinauto_recorder.player.exists
- pywinauto_recorder.player.exists(element_path, timeout=None)[source]
Tests if the user interface element exists. It returns the element if it exists, None otherwise. In both cases no exception is thrown as for the
find()function.- Parameters
element_path (
Union[str,UIAWrapper,NewType()(UI_Coordinates, (float,float))]) – element pathtimeout (
Optional[float]) – period of time in seconds that will be allowed to find the element
- Return type
UIAWrapper- Returns
Pywinauto wrapper of the found element or None