|
|
None | __init__ (self, "Frame" frame, str frame_selector) |
| |
|
Locator | locator (self, Union["Locator", str] selectorOrLocator, Union[str, Pattern[str]] hasText=None, Union[str, Pattern[str]] hasNotText=None, Locator has=None, Locator hasNot=None) |
| |
|
"Locator" | get_by_alt_text (self, Union[str, Pattern[str]] text, bool exact=None) |
| |
|
"Locator" | get_by_label (self, Union[str, Pattern[str]] text, bool exact=None) |
| |
|
"Locator" | get_by_placeholder (self, Union[str, Pattern[str]] text, bool exact=None) |
| |
|
"Locator" | get_by_role (self, AriaRole role, bool checked=None, bool disabled=None, bool expanded=None, bool includeHidden=None, int level=None, Union[str, Pattern[str]] name=None, bool pressed=None, bool selected=None, bool exact=None) |
| |
|
"Locator" | get_by_test_id (self, Union[str, Pattern[str]] testId) |
| |
|
"Locator" | get_by_text (self, Union[str, Pattern[str]] text, bool exact=None) |
| |
|
"Locator" | get_by_title (self, Union[str, Pattern[str]] text, bool exact=None) |
| |
|
"FrameLocator" | frame_locator (self, str selector) |
| |
|
"FrameLocator" | first (self) |
| |
|
"FrameLocator" | last (self) |
| |
|
"Locator" | owner (self) |
| |
|
"FrameLocator" | nth (self, int index) |
| |
|
str | __repr__ (self) |
| |