|
| None | __init__ (self, ChannelOwner parent, str type, str guid, Dict initializer) |
| |
|
str | __repr__ (self) |
| |
|
"Page" | page (self) |
| |
|
Optional[Response] | goto (self, str url, float timeout=None, DocumentLoadState waitUntil=None, str referer=None) |
| |
|
EventContextManagerImpl[Response] | expect_navigation (self, URLMatch url=None, DocumentLoadState waitUntil=None, float timeout=None) |
| |
|
None | wait_for_url (self, URLMatch url, DocumentLoadState waitUntil=None, float timeout=None) |
| |
|
None | wait_for_load_state (self, Literal["domcontentloaded", "load", "networkidle"] state=None, float timeout=None) |
| |
|
ElementHandle | frame_element (self) |
| |
|
Any | evaluate (self, str expression, Serializable arg=None) |
| |
|
JSHandle | evaluate_handle (self, str expression, Serializable arg=None) |
| |
|
Optional[ElementHandle] | query_selector (self, str selector, bool strict=None) |
| |
|
List[ElementHandle] | query_selector_all (self, str selector) |
| |
|
Optional[ElementHandle] | wait_for_selector (self, str selector, bool strict=None, float timeout=None, Literal["attached", "detached", "hidden", "visible"] state=None) |
| |
|
bool | is_checked (self, str selector, bool strict=None, float timeout=None) |
| |
|
bool | is_disabled (self, str selector, bool strict=None, float timeout=None) |
| |
|
bool | is_editable (self, str selector, bool strict=None, float timeout=None) |
| |
|
bool | is_enabled (self, str selector, bool strict=None, float timeout=None) |
| |
|
bool | is_hidden (self, str selector, bool strict=None) |
| |
|
bool | is_visible (self, str selector, bool strict=None) |
| |
|
None | dispatch_event (self, str selector, str type, Dict eventInit=None, bool strict=None, float timeout=None) |
| |
|
Any | eval_on_selector (self, str selector, str expression, Serializable arg=None, bool strict=None) |
| |
|
Any | eval_on_selector_all (self, str selector, str expression, Serializable arg=None) |
| |
|
str | content (self) |
| |
|
None | set_content (self, str html, float timeout=None, DocumentLoadState waitUntil=None) |
| |
|
str | name (self) |
| |
|
str | url (self) |
| |
|
Optional["Frame"] | parent_frame (self) |
| |
|
List["Frame"] | child_frames (self) |
| |
|
bool | is_detached (self) |
| |
|
ElementHandle | add_script_tag (self, str url=None, Union[str, Path] path=None, str content=None, str type=None) |
| |
|
ElementHandle | add_style_tag (self, str url=None, Union[str, Path] path=None, str content=None) |
| |
|
None | click (self, str selector, Sequence[KeyboardModifier] modifiers=None, Position position=None, float delay=None, MouseButton button=None, int clickCount=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool strict=None, bool trial=None) |
| |
|
None | dblclick (self, str selector, Sequence[KeyboardModifier] modifiers=None, Position position=None, float delay=None, MouseButton button=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool strict=None, bool trial=None) |
| |
|
None | tap (self, str selector, Sequence[KeyboardModifier] modifiers=None, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool strict=None, bool trial=None) |
| |
|
None | fill (self, str selector, str value, float timeout=None, bool noWaitAfter=None, bool strict=None, bool force=None) |
| |
|
Locator | locator (self, str selector, 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) |
| |
|
None | focus (self, str selector, bool strict=None, float timeout=None) |
| |
|
Optional[str] | text_content (self, str selector, bool strict=None, float timeout=None) |
| |
|
str | inner_text (self, str selector, bool strict=None, float timeout=None) |
| |
|
str | inner_html (self, str selector, bool strict=None, float timeout=None) |
| |
|
Optional[str] | get_attribute (self, str selector, str name, bool strict=None, float timeout=None) |
| |
|
None | hover (self, str selector, Sequence[KeyboardModifier] modifiers=None, Position position=None, float timeout=None, bool noWaitAfter=None, bool force=None, bool strict=None, bool trial=None) |
| |
|
None | drag_and_drop (self, str source, str target, Position sourcePosition=None, Position targetPosition=None, bool force=None, bool noWaitAfter=None, bool strict=None, float timeout=None, bool trial=None, int steps=None) |
| |
|
List[str] | select_option (self, str selector, Union[str, Sequence[str]] value=None, Union[int, Sequence[int]] index=None, Union[str, Sequence[str]] label=None, Union["ElementHandle", Sequence["ElementHandle"]] element=None, float timeout=None, bool noWaitAfter=None, bool strict=None, bool force=None) |
| |
|
str | input_value (self, str selector, bool strict=None, float timeout=None) |
| |
|
None | set_input_files (self, str selector, Union[str, Path, FilePayload, Sequence[Union[str, Path]], Sequence[FilePayload]] files, bool strict=None, float timeout=None, bool noWaitAfter=None) |
| |
|
None | type (self, str selector, str text, float delay=None, bool strict=None, float timeout=None, bool noWaitAfter=None) |
| |
|
None | press (self, str selector, str key, float delay=None, bool strict=None, float timeout=None, bool noWaitAfter=None) |
| |
|
None | check (self, str selector, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool strict=None, bool trial=None) |
| |
|
None | uncheck (self, str selector, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool strict=None, bool trial=None) |
| |
|
None | wait_for_timeout (self, float timeout) |
| |
|
JSHandle | wait_for_function (self, str expression, Serializable arg=None, float timeout=None, Union[float, Literal["raf"]] polling=None) |
| |
|
str | title (self) |
| |
|
None | set_checked (self, str selector, bool checked, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool strict=None, bool trial=None) |
| |
| None | remove_listener (self, str event, Any f) |
| |
| bool | emit (Self self, str event, *Any args, **Any kwargs) |
| |
| None | wait_for_complete (Self self) |
| |
| None | cancel (Self self) |
| |
| bool | complete (Self self) |
| |
|
Mapping[str, Any] | __getstate__ (Self self) |
| |
|
None | __setstate__ (Self self, Mapping[str, Any] state) |
| |
|
Callable[[Handler], Handler] | on (Self self, str event) |
| |
|
Handler | on (Self self, str event, Handler f) |
| |
| Union[Handler, Callable[[Handler], Handler]] | on (Self self, str event, Optional[Handler] f=None) |
| |
| Callable[[Handler], Handler] | listens_to (Self self, str event) |
| |
| Handler | add_listener (Self self, str event, Handler f) |
| |
| Set[str] | event_names (Self self) |
| |
| Callable | once (Self self, str event, Optional[Callable] f=None) |
| |
| None | remove_all_listeners (Self self, Optional[str] event=None) |
| |
| List[Callable] | listeners (Self self, str event) |
| |
|
|
None | _on_load_state (self, DocumentLoadState add=None, DocumentLoadState remove=None) |
| |
|
None | _on_frame_navigated (self, FrameNavigatedEvent event) |
| |
|
int | _query_count (self, str selector) |
| |
|
Waiter | _setup_navigation_waiter (self, str wait_name, float timeout=None) |
| |
|
FrameExpectResult | _expect (self, Optional[str] selector, str expression, FrameExpectOptions options, str title=None) |
| |
|
None | _wait_for_load_state_impl (self, DocumentLoadState state=None, float timeout=None) |
| |
|
float | _timeout (self, Optional[float] timeout) |
| |
|
float | _navigation_timeout (self, Optional[float] timeout) |
| |
|
None | _click (self, str selector, Sequence[KeyboardModifier] modifiers=None, Position position=None, float delay=None, MouseButton button=None, int clickCount=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool strict=None, bool trial=None, int steps=None) |
| |
|
None | _fill (self, str selector, str value, float timeout=None, bool noWaitAfter=None, bool strict=None, bool force=None, str title=None) |
| |
|
None | _highlight (self, str selector) |
| |
|
None | _dispose (self, Optional[str] reason) |
| |
|
None | _adopt (self, "ChannelOwner" child) |
| |
|
None | _set_event_to_subscription_mapping (self, Dict[str, str] mapping) |
| |
|
None | _update_subscription (self, str event, bool enabled) |
| |
| None | _add_event_handler (self, str event, Any k, Any v) |
| |
| None | _emit_run (Self self, Callable f, Tuple[Any,...] args, Dict[str, Any] kwargs) |
| |
|
None | _emit_handle_potential_error (Self self, str event, Any error) |
| |
|
bool | _call_handlers (Self self, str event, Tuple[Any,...] args, Dict[str, Any] kwargs) |
| |
| None | _remove_listener (Self self, str event, Callable f) |
| |