FrameFinder¶
- class pyjt.FrameFinder¶
Bases:
object
- static find(locator=None, **kwargs)¶
Find a frame by a locator or frame attributes.
- Parameters:
locator (Locator) – Locator to find a frame.
**kwargs – Search filters by keyword arguments.
- Raises:
ElementNotFoundError – No frame was found matching the given search criteria.
- Returns:
The first frame in the list of frames matching the search criteria.
- Return type:
- static inspect() dict ¶
Inspect all available windows.
- Returns:
A dictionary tree of all ui components of all available frames.
- Return type:
dict
- static waitFor(locator=None, **kwargs)¶
Wait timeout seconds for the given frame to appear