FrameFinder
- class pyjt.FrameFinder
Bases:
objectFind a frame in the list of application frames.
Example:
frame = FrameFinder(title="Hello World") frame.find(JTextField, name="first name")
- 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()
Inspect a component.
- Returns:
A dicitionary tree of all ui components of all available frames.
- Return type:
dict