SYMBOL INDEX (4795 symbols across 234 files) FILE: examples/todomvc/mvctests/test_clear_completed_button.py function run_around_tests (line 24) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_should_display_the_correct_text (line 33) | def test_should_display_the_correct_text(page: Page) -> None: function test_should_clear_completed_items_when_clicked (line 38) | def test_should_clear_completed_items_when_clicked(page: Page) -> None: function test_should_be_hidden_when_there_are_no_items_that_are_completed (line 46) | def test_should_be_hidden_when_there_are_no_items_that_are_completed( FILE: examples/todomvc/mvctests/test_counter.py function run_around_tests (line 24) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_should_display_the_current_number_of_todo_items (line 32) | def test_should_display_the_current_number_of_todo_items(page: Page) -> ... FILE: examples/todomvc/mvctests/test_editing.py function run_around_tests (line 29) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_should_hide_other_controls_when_editing (line 39) | def test_should_hide_other_controls_when_editing(page: Page) -> None: function test_should_save_edits_on_blur (line 47) | def test_should_save_edits_on_blur(page: Page) -> None: function test_should_trim_entered_text (line 63) | def test_should_trim_entered_text(page: Page) -> None: function test_should_remove_the_item_if_an_empty_text_string_was_entered (line 79) | def test_should_remove_the_item_if_an_empty_text_string_was_entered(page... function test_should_cancel_edits_on_escape (line 93) | def test_should_cancel_edits_on_escape(page: Page) -> None: FILE: examples/todomvc/mvctests/test_item.py function run_around_tests (line 29) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_should_allow_me_to_mark_items_as_completed (line 37) | def test_should_allow_me_to_mark_items_as_completed(page: Page) -> None: function test_should_allow_me_to_un_mark_items_as_completed (line 58) | def test_should_allow_me_to_un_mark_items_as_completed(page: Page) -> None: function test_should_allow_me_to_edit_an_item (line 77) | def test_should_allow_me_to_edit_an_item(page: Page) -> None: FILE: examples/todomvc/mvctests/test_mark_all_as_completed.py function run_around_tests (line 28) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_should_allow_me_to_mark_all_items_as_completed (line 36) | def test_should_allow_me_to_mark_all_items_as_completed(page: Page) -> N... function test_should_allow_me_to_clear_the_complete_state_of_all_items (line 50) | def test_should_allow_me_to_clear_the_complete_state_of_all_items(page: ... function test_complete_all_checkbox_should_update_state_when_items_are_completed_or_cleared (line 62) | def test_complete_all_checkbox_should_update_state_when_items_are_comple... FILE: examples/todomvc/mvctests/test_new_todo.py function run_around_tests (line 29) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_new_todo_test_should_allow_me_to_add_todo_items (line 37) | def test_new_todo_test_should_allow_me_to_add_todo_items(page: Page) -> ... function test_new_todo_test_should_clear_text_input_field_when_an_item_is_added (line 55) | def test_new_todo_test_should_clear_text_input_field_when_an_item_is_added( function test_new_todo_test_should_append_new_items_to_the_bottom_of_the_list (line 67) | def test_new_todo_test_should_append_new_items_to_the_bottom_of_the_list( function test_new_todo_should_show_main_and_foter_when_items_added (line 83) | def test_new_todo_should_show_main_and_foter_when_items_added(page: Page... FILE: examples/todomvc/mvctests/test_persistence.py function run_around_tests (line 24) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_should_persist_its_data (line 32) | def test_should_persist_its_data(page: Page) -> None: FILE: examples/todomvc/mvctests/test_routing.py function run_around_tests (line 29) | def run_around_tests(page: Page) -> Generator[None, None, None]: function test_should_allow_me_to_display_active_item (line 42) | def test_should_allow_me_to_display_active_item(page: Page) -> None: function test_should_respect_the_back_button (line 50) | def test_should_respect_the_back_button(page: Page) -> None: function test_should_allow_me_to_display_completed_items (line 71) | def test_should_allow_me_to_display_completed_items(page: Page) -> None: function test_should_allow_me_to_display_all_items (line 78) | def test_should_allow_me_to_display_all_items(page: Page) -> None: function test_should_highlight_the_current_applied_filter (line 87) | def test_should_highlight_the_current_applied_filter(page: Page) -> None: FILE: examples/todomvc/mvctests/utils.py function create_default_todos (line 19) | def create_default_todos(page: Page) -> None: function check_number_of_completed_todos_in_local_storage (line 25) | def check_number_of_completed_todos_in_local_storage(page: Page, expecte... function assert_number_of_todos_in_local_storage (line 34) | def assert_number_of_todos_in_local_storage(page: Page, expected: int) -... function check_todos_in_local_storage (line 38) | def check_todos_in_local_storage(page: Page, title: str) -> None: FILE: playwright/__main__.py function main (line 21) | def main() -> None: FILE: playwright/_impl/__pyinstaller/__init__.py function get_hook_dirs (line 19) | def get_hook_dirs() -> List[str]: FILE: playwright/_impl/_api_structures.py class Cookie (line 26) | class Cookie(TypedDict, total=False): class StorageStateCookie (line 38) | class StorageStateCookie(TypedDict, total=False): class SetCookieParam (line 50) | class SetCookieParam(TypedDict, total=False): class FloatRect (line 63) | class FloatRect(TypedDict): class Geolocation (line 70) | class Geolocation(TypedDict, total=False): class HttpCredentials (line 76) | class HttpCredentials(TypedDict, total=False): class LocalStorageEntry (line 83) | class LocalStorageEntry(TypedDict): class OriginState (line 88) | class OriginState(TypedDict): class PdfMargins (line 93) | class PdfMargins(TypedDict, total=False): class Position (line 100) | class Position(TypedDict): class ProxySettings (line 105) | class ProxySettings(TypedDict, total=False): class StorageState (line 112) | class StorageState(TypedDict, total=False): class ClientCertificate (line 117) | class ClientCertificate(TypedDict, total=False): class ResourceTiming (line 128) | class ResourceTiming(TypedDict): class RequestSizes (line 140) | class RequestSizes(TypedDict): class ViewportSize (line 147) | class ViewportSize(TypedDict): class SourceLocation (line 152) | class SourceLocation(TypedDict): class FilePayload (line 158) | class FilePayload(TypedDict): class RemoteAddr (line 164) | class RemoteAddr(TypedDict): class SecurityDetails (line 169) | class SecurityDetails(TypedDict): class NameValue (line 177) | class NameValue(TypedDict): class ServerFilePayload (line 186) | class ServerFilePayload(TypedDict): class FormField (line 192) | class FormField(TypedDict, total=False): class ExpectedTextValue (line 198) | class ExpectedTextValue(TypedDict, total=False): class FrameExpectOptions (line 207) | class FrameExpectOptions(TypedDict, total=False): class FrameExpectResult (line 217) | class FrameExpectResult(TypedDict): class TracingGroupLocation (line 310) | class TracingGroupLocation(TypedDict): FILE: playwright/_impl/_artifact.py class Artifact (line 24) | class Artifact(ChannelOwner): method __init__ (line 25) | def __init__( method path_after_finished (line 31) | async def path_after_finished(self) -> pathlib.Path: method save_as (line 42) | async def save_as(self, path: Union[str, Path]) -> None: method failure (line 55) | async def failure(self) -> Optional[str]: method delete (line 64) | async def delete(self) -> None: method read_info_buffer (line 70) | async def read_info_buffer(self) -> bytes: method cancel (line 83) | async def cancel(self) -> None: # pyright: ignore[reportIncompatibleM... FILE: playwright/_impl/_assertions.py class AssertionsBase (line 34) | class AssertionsBase: method __init__ (line 35) | def __init__( method _call_expect (line 49) | async def _call_expect( method _expect_impl (line 56) | async def _expect_impl( class PageAssertions (line 90) | class PageAssertions(AssertionsBase): method __init__ (line 91) | def __init__( method _call_expect (line 101) | async def _call_expect( method _not (line 110) | def _not(self) -> "PageAssertions": method to_have_title (line 115) | async def to_have_title( method not_to_have_title (line 130) | async def not_to_have_title( method to_have_url (line 136) | async def to_have_url( method not_to_have_url (line 155) | async def not_to_have_url( class LocatorAssertions (line 165) | class LocatorAssertions(AssertionsBase): method __init__ (line 166) | def __init__( method _call_expect (line 176) | async def _call_expect( method _not (line 183) | def _not(self) -> "LocatorAssertions": method to_contain_text (line 188) | async def to_contain_text( method not_to_contain_text (line 241) | async def not_to_contain_text( method to_have_attribute (line 257) | async def to_have_attribute( method not_to_have_attribute (line 276) | async def not_to_have_attribute( method to_have_class (line 288) | async def to_have_class( method not_to_have_class (line 321) | async def not_to_have_class( method to_contain_class (line 335) | async def to_contain_class( method not_to_contain_class (line 365) | async def not_to_contain_class( method to_have_count (line 376) | async def to_have_count( method not_to_have_count (line 390) | async def not_to_have_count( method to_have_css (line 398) | async def to_have_css( method not_to_have_css (line 416) | async def not_to_have_css( method to_have_id (line 425) | async def to_have_id( method not_to_have_id (line 440) | async def not_to_have_id( method to_have_js_property (line 448) | async def to_have_js_property( method not_to_have_js_property (line 465) | async def not_to_have_js_property( method to_have_value (line 474) | async def to_have_value( method not_to_have_value (line 489) | async def not_to_have_value( method to_have_values (line 497) | async def to_have_values( method not_to_have_values (line 514) | async def not_to_have_values( method to_have_text (line 524) | async def to_have_text( method not_to_have_text (line 573) | async def not_to_have_text( method to_be_attached (line 589) | async def to_be_attached( method to_be_checked (line 606) | async def to_be_checked( method not_to_be_attached (line 631) | async def not_to_be_attached( method not_to_be_checked (line 639) | async def not_to_be_checked( method to_be_disabled (line 646) | async def to_be_disabled( method not_to_be_disabled (line 659) | async def not_to_be_disabled( method to_be_editable (line 666) | async def to_be_editable( method not_to_be_editable (line 683) | async def not_to_be_editable( method to_be_empty (line 691) | async def to_be_empty( method not_to_be_empty (line 704) | async def not_to_be_empty( method to_be_enabled (line 711) | async def to_be_enabled( method not_to_be_enabled (line 728) | async def not_to_be_enabled( method to_be_hidden (line 736) | async def to_be_hidden( method not_to_be_hidden (line 749) | async def not_to_be_hidden( method to_be_visible (line 756) | async def to_be_visible( method not_to_be_visible (line 773) | async def not_to_be_visible( method to_be_focused (line 781) | async def to_be_focused( method not_to_be_focused (line 794) | async def not_to_be_focused( method to_be_in_viewport (line 801) | async def to_be_in_viewport( method not_to_be_in_viewport (line 815) | async def not_to_be_in_viewport( method to_have_accessible_description (line 821) | async def to_have_accessible_description( method not_to_have_accessible_description (line 839) | async def not_to_have_accessible_description( method to_have_accessible_name (line 848) | async def to_have_accessible_name( method not_to_have_accessible_name (line 866) | async def not_to_have_accessible_name( method to_have_role (line 875) | async def to_have_role(self, role: AriaRole, timeout: float = None) ->... method to_have_accessible_error_message (line 888) | async def to_have_accessible_error_message( method not_to_have_accessible_error_message (line 906) | async def not_to_have_accessible_error_message( method not_to_have_role (line 917) | async def not_to_have_role(self, role: AriaRole, timeout: float = None... method to_match_aria_snapshot (line 921) | async def to_match_aria_snapshot( method not_to_match_aria_snapshot (line 933) | async def not_to_match_aria_snapshot( class APIResponseAssertions (line 940) | class APIResponseAssertions: method __init__ (line 941) | def __init__( method _not (line 956) | def _not(self) -> "APIResponseAssertions": method to_be_ok (line 961) | async def to_be_ok( method not_to_be_ok (line 981) | async def not_to_be_ok(self) -> None: function expected_regex (line 986) | def expected_regex( function to_expected_text_values (line 1004) | def to_expected_text_values( FILE: playwright/_impl/_async_base.py class AsyncEventInfo (line 29) | class AsyncEventInfo(Generic[T]): method __init__ (line 30) | def __init__(self, future: "asyncio.Future[T]") -> None: method value (line 34) | async def value(self) -> T: method _cancel (line 37) | def _cancel(self) -> None: method is_done (line 40) | def is_done(self) -> bool: class AsyncEventContextManager (line 44) | class AsyncEventContextManager(Generic[T], AbstractAsyncContextManager): method __init__ (line 45) | def __init__(self, future: "asyncio.Future[T]") -> None: method __aenter__ (line 48) | async def __aenter__(self) -> AsyncEventInfo[T]: method __aexit__ (line 51) | async def __aexit__( class AsyncBase (line 63) | class AsyncBase(ImplWrapper): method __init__ (line 64) | def __init__(self, impl_obj: Any) -> None: method __str__ (line 68) | def __str__(self) -> str: method _wrap_handler (line 71) | def _wrap_handler( method on (line 78) | def on(self, event: Any, f: Any) -> None: method once (line 82) | def once(self, event: Any, f: Any) -> None: method remove_listener (line 88) | def remove_listener(self, event: Any, f: Any) -> None: class AsyncContextManager (line 93) | class AsyncContextManager(AsyncBase): method __aenter__ (line 94) | async def __aenter__(self: Self) -> Self: method __aexit__ (line 97) | async def __aexit__( method close (line 105) | async def close(self) -> None: ... FILE: playwright/_impl/_browser.py class Browser (line 59) | class Browser(ChannelOwner): method __init__ (line 64) | def __init__( method __repr__ (line 84) | def __repr__(self) -> str: method _connect_to_browser_type (line 87) | def _connect_to_browser_type( method _did_create_context (line 99) | def _did_create_context(self, context: BrowserContext) -> None: method _setup_browser_context (line 107) | def _setup_browser_context(self, context: BrowserContext) -> None: method _on_close (line 112) | def _on_close(self) -> None: method contexts (line 117) | def contexts(self) -> List[BrowserContext]: method browser_type (line 121) | def browser_type(self) -> "BrowserType": method is_connected (line 125) | def is_connected(self) -> bool: method new_context (line 128) | async def new_context( method new_page (line 182) | async def new_page( method close (line 232) | async def close(self, reason: str = None) -> None: method version (line 244) | def version(self) -> str: method new_browser_cdp_session (line 247) | async def new_browser_cdp_session(self) -> CDPSession: method start_tracing (line 250) | async def start_tracing( method stop_tracing (line 265) | async def stop_tracing(self) -> bytes: FILE: playwright/_impl/_browser_context.py class BrowserContext (line 89) | class BrowserContext(ChannelOwner): method __init__ (line 105) | def __init__( method __repr__ (line 223) | def __repr__(self) -> str: method _on_page (line 226) | def _on_page(self, page: Page) -> None: method _on_route (line 232) | async def _on_route(self, route: Route) -> None: method _on_web_socket_route (line 264) | async def _on_web_socket_route(self, web_socket_route: WebSocketRoute)... method _on_binding (line 278) | def _on_binding(self, binding_call: BindingCall) -> None: method set_default_navigation_timeout (line 284) | def set_default_navigation_timeout(self, timeout: float) -> None: method _set_default_navigation_timeout_impl (line 287) | def _set_default_navigation_timeout_impl(self, timeout: Optional[float... method set_default_timeout (line 290) | def set_default_timeout(self, timeout: float) -> None: method _set_default_timeout_impl (line 293) | def _set_default_timeout_impl(self, timeout: Optional[float]) -> None: method pages (line 297) | def pages(self) -> List[Page]: method browser (line 301) | def browser(self) -> Optional["Browser"]: method _initialize_har_from_options (line 304) | async def _initialize_har_from_options( method new_page (line 329) | async def new_page(self) -> Page: method cookies (line 334) | async def cookies(self, urls: Union[str, Sequence[str]] = None) -> Lis... method add_cookies (line 341) | async def add_cookies(self, cookies: Sequence[SetCookieParam]) -> None: method clear_cookies (line 344) | async def clear_cookies( method grant_permissions (line 374) | async def grant_permissions( method clear_permissions (line 379) | async def clear_permissions(self) -> None: method set_geolocation (line 382) | async def set_geolocation(self, geolocation: Geolocation = None) -> None: method set_extra_http_headers (line 385) | async def set_extra_http_headers(self, headers: Dict[str, str]) -> None: method set_offline (line 390) | async def set_offline(self, offline: bool) -> None: method add_init_script (line 393) | async def add_init_script( method expose_binding (line 402) | async def expose_binding( method expose_function (line 417) | async def expose_function(self, name: str, callback: Callable) -> None: method route (line 420) | async def route( method unroute (line 435) | async def unroute( method _unroute_internal (line 447) | async def _unroute_internal( method route_web_socket (line 458) | async def route_web_socket( method _dispose_har_routers (line 467) | def _dispose_har_routers(self) -> None: method unroute_all (line 472) | async def unroute_all( method _record_into_har (line 478) | async def _record_into_har( method route_from_har (line 507) | async def route_from_har( method _update_interception_patterns (line 534) | async def _update_interception_patterns(self) -> None: method _update_web_socket_interception_patterns (line 540) | async def _update_web_socket_interception_patterns(self) -> None: method expect_event (line 548) | def expect_event( method _on_close (line 567) | def _on_close(self) -> None: method close (line 585) | async def close(self, reason: str = None) -> None: method storage_state (line 620) | async def storage_state( method _effective_close_reason (line 630) | def _effective_close_reason(self) -> Optional[str]: method wait_for_event (line 637) | async def wait_for_event( method expect_console_message (line 644) | def expect_console_message( method expect_page (line 651) | def expect_page( method _on_service_worker (line 658) | def _on_service_worker(self, worker: Worker) -> None: method _on_request_failed (line 663) | def _on_request_failed( method _on_request_finished (line 676) | def _on_request_finished( method _on_console_message (line 690) | def _on_console_message(self, event: Dict) -> None: method _on_dialog (line 700) | def _on_dialog(self, dialog: Dialog) -> None: method _on_page_error (line 715) | def _on_page_error(self, error: Error, page: Optional[Page]) -> None: method _on_request (line 723) | def _on_request(self, request: Request, page: Optional[Page]) -> None: method _on_response (line 728) | def _on_response(self, response: Response, page: Optional[Page]) -> None: method background_pages (line 734) | def background_pages(self) -> List[Page]: method service_workers (line 738) | def service_workers(self) -> List[Worker]: method new_cdp_session (line 741) | async def new_cdp_session(self, page: Union[Page, Frame]) -> CDPSession: method tracing (line 753) | def tracing(self) -> Tracing: method request (line 757) | def request(self) -> "APIRequestContext": method clock (line 761) | def clock(self) -> Clock: FILE: playwright/_impl/_browser_type.py class BrowserType (line 55) | class BrowserType(ChannelOwner): method __init__ (line 56) | def __init__( method __repr__ (line 62) | def __repr__(self) -> str: method name (line 66) | def name(self) -> str: method executable_path (line 70) | def executable_path(self) -> str: method launch (line 73) | async def launch( method launch_persistent_context (line 107) | async def launch_persistent_context( method _user_data_dir (line 184) | def _user_data_dir(self, userDataDir: Optional[Union[str, Path]]) -> str: method connect_over_cdp (line 195) | async def connect_over_cdp( method connect (line 214) | async def connect( method _prepare_browser_context_params (line 298) | async def _prepare_browser_context_params(self, params: Dict) -> None: function normalize_launch_params (line 348) | def normalize_launch_params(params: Dict) -> None: FILE: playwright/_impl/_cdp_session.py class CDPSession (line 21) | class CDPSession(ChannelOwner): method __init__ (line 22) | def __init__( method _on_event (line 28) | def _on_event(self, params: Any) -> None: method send (line 31) | async def send(self, method: str, params: Dict = None) -> Dict: method detach (line 34) | async def detach(self) -> None: FILE: playwright/_impl/_clock.py class Clock (line 22) | class Clock: method __init__ (line 23) | def __init__(self, browser_context: "BrowserContext") -> None: method install (line 28) | async def install(self, time: Union[float, str, datetime.datetime] = N... method fast_forward (line 35) | async def fast_forward( method pause_at (line 45) | async def pause_at( method resume (line 55) | async def resume( method run_for (line 60) | async def run_for( method set_fixed_time (line 70) | async def set_fixed_time( method set_system_time (line 80) | async def set_system_time( function parse_time (line 91) | def parse_time( function parse_ticks (line 101) | def parse_ticks(ticks: Union[int, str]) -> Dict[str, Union[int, str]]: FILE: playwright/_impl/_connection.py class Channel (line 53) | class Channel(AsyncIOEventEmitter): method __init__ (line 54) | def __init__(self, connection: "Connection", object: "ChannelOwner") -... method send (line 61) | async def send( method send_return_as_dict (line 75) | async def send_return_as_dict( method send_no_reply (line 89) | def send_no_reply( method _inner_send (line 109) | async def _inner_send( class ChannelOwner (line 147) | class ChannelOwner(AsyncIOEventEmitter): method __init__ (line 148) | def __init__( method _dispose (line 177) | def _dispose(self, reason: Optional[str]) -> None: method _adopt (line 189) | def _adopt(self, child: "ChannelOwner") -> None: method _set_event_to_subscription_mapping (line 194) | def _set_event_to_subscription_mapping(self, mapping: Dict[str, str]) ... method _update_subscription (line 197) | def _update_subscription(self, event: str, enabled: bool) -> None: method _add_event_handler (line 209) | def _add_event_handler(self, event: str, k: Any, v: Any) -> None: method remove_listener (line 214) | def remove_listener(self, event: str, f: Any) -> None: class ProtocolCallback (line 220) | class ProtocolCallback: method __init__ (line 221) | def __init__(self, loop: asyncio.AbstractEventLoop, no_reply: bool = F... class RootChannelOwner (line 245) | class RootChannelOwner(ChannelOwner): method __init__ (line 246) | def __init__(self, connection: "Connection") -> None: method initialize (line 249) | async def initialize(self) -> "Playwright": class Connection (line 261) | class Connection(EventEmitter): method __init__ (line 262) | def __init__( method local_utils (line 294) | def local_utils(self) -> "LocalUtils": method mark_as_remote (line 298) | def mark_as_remote(self) -> None: method run_as_sync (line 301) | async def run_as_sync(self) -> None: method run (line 305) | async def run(self) -> None: method stop_sync (line 316) | def stop_sync(self) -> None: method stop_async (line 322) | async def stop_async(self) -> None: method cleanup (line 327) | def cleanup(self, cause: str = None) -> None: method call_on_object_with_known_name (line 343) | def call_on_object_with_known_name( method set_is_tracing (line 348) | def set_is_tracing(self, is_tracing: bool) -> None: method _send_message_to_server (line 354) | def _send_message_to_server( method dispatch (line 408) | def dispatch(self, msg: ParsedMessagePayload) -> None: method _on_event_listener_error (line 494) | def _on_event_listener_error(self, exc: BaseException) -> None: method _create_remote_object (line 500) | def _create_remote_object( method _replace_channels_with_guids (line 509) | def _replace_channels_with_guids( method _replace_guids_with_channels (line 530) | def _replace_guids_with_channels(self, payload: Any) -> Any: method wrap_api_call (line 544) | async def wrap_api_call( method wrap_api_call_sync (line 563) | def wrap_api_call_sync( function from_channel (line 582) | def from_channel(channel: Channel) -> Any: function from_nullable_channel (line 586) | def from_nullable_channel(channel: Optional[Channel]) -> Optional[Any]: class StackFrame (line 590) | class StackFrame(TypedDict): class ParsedStackTrace (line 597) | class ParsedStackTrace(TypedDict): function _extract_stack_trace_information_from_stack (line 603) | def _extract_stack_trace_information_from_stack( function _augment_params (line 648) | def _augment_params( function _filter_none (line 659) | def _filter_none(d: Mapping) -> Dict: function format_call_log (line 668) | def format_call_log(log: Optional[List[str]]) -> str: FILE: playwright/_impl/_console_message.py class ConsoleMessage (line 27) | class ConsoleMessage: method __init__ (line 28) | def __init__( method __repr__ (line 37) | def __repr__(self) -> str: method __str__ (line 40) | def __str__(self) -> str: method type (line 44) | def type(self) -> Union[ method text (line 68) | def text(self) -> str: method args (line 72) | def args(self) -> List[JSHandle]: method location (line 76) | def location(self) -> SourceLocation: method page (line 80) | def page(self) -> Optional["Page"]: method worker (line 84) | def worker(self) -> Optional["Worker"]: FILE: playwright/_impl/_dialog.py class Dialog (line 24) | class Dialog(ChannelOwner): method __init__ (line 25) | def __init__( method __repr__ (line 31) | def __repr__(self) -> str: method type (line 35) | def type(self) -> str: method message (line 39) | def message(self) -> str: method default_value (line 43) | def default_value(self) -> str: method page (line 47) | def page(self) -> Optional["Page"]: method accept (line 50) | async def accept(self, promptText: str = None) -> None: method dismiss (line 53) | async def dismiss(self) -> None: FILE: playwright/_impl/_download.py class Download (line 25) | class Download: method __init__ (line 26) | def __init__( method __repr__ (line 36) | def __repr__(self) -> str: method page (line 40) | def page(self) -> "Page": method url (line 44) | def url(self) -> str: method suggested_filename (line 48) | def suggested_filename(self) -> str: method delete (line 51) | async def delete(self) -> None: method failure (line 54) | async def failure(self) -> Optional[str]: method path (line 57) | async def path(self) -> pathlib.Path: method save_as (line 60) | async def save_as(self, path: Union[str, Path]) -> None: method cancel (line 63) | async def cancel(self) -> None: FILE: playwright/_impl/_driver.py function compute_driver_executable (line 25) | def compute_driver_executable() -> Tuple[str, str]: function get_driver_env (line 36) | def get_driver_env() -> dict: FILE: playwright/_impl/_element_handle.py class ElementHandle (line 54) | class ElementHandle(JSHandle): method __init__ (line 55) | def __init__( method _createSelectorForTest (line 61) | async def _createSelectorForTest(self, name: str) -> Optional[str]: method as_element (line 66) | def as_element(self) -> Optional["ElementHandle"]: method owner_frame (line 69) | async def owner_frame(self) -> Optional["Frame"]: method content_frame (line 72) | async def content_frame(self) -> Optional["Frame"]: method get_attribute (line 75) | async def get_attribute(self, name: str) -> Optional[str]: method text_content (line 78) | async def text_content(self) -> Optional[str]: method inner_text (line 81) | async def inner_text(self) -> str: method inner_html (line 84) | async def inner_html(self) -> str: method is_checked (line 87) | async def is_checked(self) -> bool: method is_disabled (line 90) | async def is_disabled(self) -> bool: method is_editable (line 93) | async def is_editable(self) -> bool: method is_enabled (line 96) | async def is_enabled(self) -> bool: method is_hidden (line 99) | async def is_hidden(self) -> bool: method is_visible (line 102) | async def is_visible(self) -> bool: method dispatch_event (line 105) | async def dispatch_event(self, type: str, eventInit: Dict = None) -> N... method scroll_into_view_if_needed (line 112) | async def scroll_into_view_if_needed(self, timeout: float = None) -> N... method hover (line 117) | async def hover( method click (line 130) | async def click( method dblclick (line 147) | async def dblclick( method select_option (line 163) | async def select_option( method tap (line 182) | async def tap( method fill (line 195) | async def fill( method select_text (line 206) | async def select_text(self, force: bool = None, timeout: float = None)... method input_value (line 211) | async def input_value(self, timeout: float = None) -> str: method set_input_files (line 216) | async def set_input_files( method focus (line 237) | async def focus(self) -> None: method type (line 240) | async def type( method press (line 251) | async def press( method set_checked (line 262) | async def set_checked( method check (line 286) | async def check( method uncheck (line 298) | async def uncheck( method bounding_box (line 310) | async def bounding_box(self) -> Optional[FloatRect]: method screenshot (line 313) | async def screenshot( method query_selector (line 353) | async def query_selector(self, selector: str) -> Optional["ElementHand... method query_selector_all (line 358) | async def query_selector_all(self, selector: str) -> List["ElementHand... method eval_on_selector (line 368) | async def eval_on_selector( method eval_on_selector_all (line 386) | async def eval_on_selector_all( method wait_for_element_state (line 404) | async def wait_for_element_state( method wait_for_selector (line 415) | async def wait_for_selector( function convert_select_option_values (line 429) | def convert_select_option_values( function determine_screenshot_type (line 460) | def determine_screenshot_type(path: Union[str, Path]) -> Literal["jpeg",... FILE: playwright/_impl/_errors.py function is_target_closed_error (line 22) | def is_target_closed_error(error: Exception) -> bool: class Error (line 26) | class Error(Exception): method __init__ (line 27) | def __init__(self, message: str) -> None: method message (line 34) | def message(self) -> str: method name (line 38) | def name(self) -> Optional[str]: method stack (line 42) | def stack(self) -> Optional[str]: class TimeoutError (line 46) | class TimeoutError(Error): class TargetClosedError (line 50) | class TargetClosedError(Error): method __init__ (line 51) | def __init__(self, message: str = None) -> None: function rewrite_error (line 55) | def rewrite_error(error: Exception, message: str) -> Exception: FILE: playwright/_impl/_event_context_manager.py class EventContextManagerImpl (line 21) | class EventContextManagerImpl(Generic[T]): method __init__ (line 22) | def __init__(self, future: asyncio.Future) -> None: method future (line 26) | def future(self) -> asyncio.Future: method __aenter__ (line 29) | async def __aenter__(self) -> asyncio.Future: method __aexit__ (line 32) | async def __aexit__(self, *args: Any) -> None: FILE: playwright/_impl/_fetch.py class APIRequest (line 60) | class APIRequest: method __init__ (line 61) | def __init__(self, playwright: "Playwright") -> None: method new_context (line 66) | async def new_context( class APIRequestContext (line 102) | class APIRequestContext(ChannelOwner): method __init__ (line 103) | def __init__( method dispose (line 111) | async def dispose(self, reason: str = None) -> None: method delete (line 121) | async def delete( method head (line 150) | async def head( method get (line 179) | async def get( method patch (line 208) | async def patch( method put (line 237) | async def put( method post (line 266) | async def post( method fetch (line 295) | async def fetch( method _inner_fetch (line 335) | async def _inner_fetch( method storage_state (line 432) | async def storage_state( function file_payload_to_json (line 445) | def file_payload_to_json(payload: FilePayload) -> ServerFilePayload: class APIResponse (line 453) | class APIResponse: method __init__ (line 454) | def __init__(self, context: APIRequestContext, initializer: Dict) -> N... method __repr__ (line 461) | def __repr__(self) -> str: method ok (line 465) | def ok(self) -> bool: method url (line 469) | def url(self) -> str: method status (line 473) | def status(self) -> int: method status_text (line 477) | def status_text(self) -> str: method headers (line 481) | def headers(self) -> Headers: method headers_array (line 485) | def headers_array(self) -> network.HeadersArray: method body (line 488) | async def body(self) -> bytes: method text (line 508) | async def text(self) -> str: method json (line 512) | async def json(self) -> Any: method dispose (line 516) | async def dispose(self) -> None: method _fetch_uid (line 526) | def _fetch_uid(self) -> str: method _fetch_log (line 529) | async def _fetch_log(self) -> List[str]: function is_json_content_type (line 539) | def is_json_content_type(headers: network.HeadersArray = None) -> bool: function is_json_parsable (line 548) | def is_json_parsable(value: Any) -> bool: FILE: playwright/_impl/_file_chooser.py class FileChooser (line 25) | class FileChooser: method __init__ (line 26) | def __init__( method __repr__ (line 35) | def __repr__(self) -> str: method page (line 39) | def page(self) -> "Page": method element (line 43) | def element(self) -> "ElementHandle": method is_multiple (line 46) | def is_multiple(self) -> bool: method set_files (line 49) | async def set_files( FILE: playwright/_impl/_frame.py class Frame (line 88) | class Frame(ChannelOwner): method __init__ (line 89) | def __init__( method __repr__ (line 112) | def __repr__(self) -> str: method _on_load_state (line 115) | def _on_load_state( method _on_frame_navigated (line 128) | def _on_frame_navigated(self, event: FrameNavigatedEvent) -> None: method _query_count (line 135) | async def _query_count(self, selector: str) -> int: method page (line 139) | def page(self) -> "Page": method goto (line 143) | async def goto( method _setup_navigation_waiter (line 159) | def _setup_navigation_waiter(self, wait_name: str, timeout: float = No... method _expect (line 180) | async def _expect( method expect_navigation (line 203) | def expect_navigation( method wait_for_url (line 253) | async def wait_for_url( method wait_for_load_state (line 268) | async def wait_for_load_state( method _wait_for_load_state_impl (line 275) | async def _wait_for_load_state_impl( method _timeout (line 303) | def _timeout(self, timeout: Optional[float]) -> float: method _navigation_timeout (line 309) | def _navigation_timeout(self, timeout: Optional[float]) -> float: method frame_element (line 315) | async def frame_element(self) -> ElementHandle: method evaluate (line 318) | async def evaluate(self, expression: str, arg: Serializable = None) ->... method evaluate_handle (line 330) | async def evaluate_handle( method query_selector (line 344) | async def query_selector( method query_selector_all (line 351) | async def query_selector_all(self, selector: str) -> List[ElementHandle]: method wait_for_selector (line 361) | async def wait_for_selector( method is_checked (line 374) | async def is_checked( method is_disabled (line 381) | async def is_disabled( method is_editable (line 388) | async def is_editable( method is_enabled (line 395) | async def is_enabled( method is_hidden (line 402) | async def is_hidden(self, selector: str, strict: bool = None) -> bool: method is_visible (line 407) | async def is_visible(self, selector: str, strict: bool = None) -> bool: method dispatch_event (line 412) | async def dispatch_event( method eval_on_selector (line 434) | async def eval_on_selector( method eval_on_selector_all (line 456) | async def eval_on_selector_all( method content (line 474) | async def content(self) -> str: method set_content (line 477) | async def set_content( method name (line 488) | def name(self) -> str: method url (line 492) | def url(self) -> str: method parent_frame (line 496) | def parent_frame(self) -> Optional["Frame"]: method child_frames (line 500) | def child_frames(self) -> List["Frame"]: method is_detached (line 503) | def is_detached(self) -> bool: method add_script_tag (line 506) | async def add_script_tag( method add_style_tag (line 521) | async def add_style_tag( method click (line 535) | async def click( method _click (line 551) | async def _click( method dblclick (line 568) | async def dblclick( method tap (line 585) | async def tap( method fill (line 598) | async def fill( method _fill (line 609) | async def _fill( method locator (line 621) | def locator( method get_by_alt_text (line 638) | def get_by_alt_text( method get_by_label (line 643) | def get_by_label( method get_by_placeholder (line 648) | def get_by_placeholder( method get_by_role (line 653) | def get_by_role( method get_by_test_id (line 681) | def get_by_test_id(self, testId: Union[str, Pattern[str]]) -> "Locator": method get_by_text (line 684) | def get_by_text( method get_by_title (line 689) | def get_by_title( method frame_locator (line 694) | def frame_locator(self, selector: str) -> FrameLocator: method focus (line 697) | async def focus( method text_content (line 702) | async def text_content( method inner_text (line 709) | async def inner_text( method inner_html (line 716) | async def inner_html( method get_attribute (line 723) | async def get_attribute( method hover (line 730) | async def hover( method drag_and_drop (line 743) | async def drag_and_drop( method select_option (line 760) | async def select_option( method input_value (line 783) | async def input_value( method set_input_files (line 793) | async def set_input_files( method type (line 815) | async def type( method press (line 826) | async def press( method check (line 837) | async def check( method uncheck (line 849) | async def uncheck( method wait_for_timeout (line 861) | async def wait_for_timeout(self, timeout: float) -> None: method wait_for_function (line 864) | async def wait_for_function( method title (line 881) | async def title(self) -> str: method set_checked (line 884) | async def set_checked( method _highlight (line 914) | async def _highlight(self, selector: str) -> None: FILE: playwright/_impl/_glob.py function glob_to_regex_pattern (line 19) | def glob_to_regex_pattern(glob: str) -> str: FILE: playwright/_impl/_greenlets.py function _greenlet_trace_callback (line 20) | def _greenlet_trace_callback( class MainGreenlet (line 32) | class MainGreenlet(greenlet.greenlet): method __str__ (line 33) | def __str__(self) -> str: class RouteGreenlet (line 37) | class RouteGreenlet(greenlet.greenlet): method __str__ (line 38) | def __str__(self) -> str: class LocatorHandlerGreenlet (line 42) | class LocatorHandlerGreenlet(greenlet.greenlet): method __str__ (line 43) | def __str__(self) -> str: class EventGreenlet (line 47) | class EventGreenlet(greenlet.greenlet): method __str__ (line 48) | def __str__(self) -> str: FILE: playwright/_impl/_har_router.py class HarRouter (line 32) | class HarRouter: method __init__ (line 33) | def __init__( method create (line 46) | async def create( method _handle (line 60) | async def _handle(self, route: "Route") -> None: method add_context_route (line 107) | async def add_context_route(self, context: "BrowserContext") -> None: method add_page_route (line 113) | async def add_page_route(self, page: "Page") -> None: method dispose (line 119) | def dispose(self) -> None: FILE: playwright/_impl/_helper.py class ErrorPayload (line 77) | class ErrorPayload(TypedDict, total=False): class HarRecordingMetadata (line 84) | class HarRecordingMetadata(TypedDict, total=False): function prepare_record_har_options (line 89) | def prepare_record_har_options(params: Dict) -> Dict[str, Any]: class ParsedMessageParams (line 118) | class ParsedMessageParams(TypedDict): class ParsedMessagePayload (line 124) | class ParsedMessagePayload(TypedDict, total=False): class Document (line 133) | class Document(TypedDict): class FrameNavigatedEvent (line 137) | class FrameNavigatedEvent(TypedDict): function url_matches (line 147) | def url_matches( function resolve_glob_to_regex_pattern (line 164) | def resolve_glob_to_regex_pattern( function to_websocket_base_url (line 173) | def to_websocket_base_url(base_url: Optional[str]) -> Optional[str]: function resolve_glob_base (line 179) | def resolve_glob_base(base_url: Optional[str], match: str) -> str: function resolve_base_url (line 240) | def resolve_base_url( function nodelike_urlparse (line 260) | def nodelike_urlparse(url: str) -> ParseResult: class HarLookupResult (line 274) | class HarLookupResult(TypedDict, total=False): class TimeoutSettings (line 288) | class TimeoutSettings: method launch_timeout (line 291) | def launch_timeout(timeout: Optional[float] = None) -> float: method __init__ (line 298) | def __init__(self, parent: Optional["TimeoutSettings"]) -> None: method set_default_timeout (line 303) | def set_default_timeout(self, timeout: Optional[float]) -> None: method timeout (line 306) | def timeout(self, timeout: float = None) -> float: method set_default_navigation_timeout (line 315) | def set_default_navigation_timeout( method default_navigation_timeout (line 320) | def default_navigation_timeout(self) -> Optional[float]: method default_timeout (line 323) | def default_timeout(self) -> Optional[float]: method navigation_timeout (line 326) | def navigation_timeout(self, timeout: float = None) -> float: function serialize_error (line 338) | def serialize_error(ex: Exception, tb: Optional[TracebackType]) -> Error... function parse_error (line 344) | def parse_error(error: ErrorPayload, log: Optional[str] = None) -> Error: function patch_error_message (line 358) | def patch_error_message(message: str) -> str: function locals_to_params (line 368) | def locals_to_params(args: Dict) -> Dict: function monotonic_time (line 382) | def monotonic_time() -> int: class RouteHandlerInvocation (line 386) | class RouteHandlerInvocation: method __init__ (line 390) | def __init__(self, complete: "asyncio.Future", route: "Route") -> None: class RouteHandler (line 395) | class RouteHandler: method __init__ (line 396) | def __init__( method matches (line 413) | def matches(self, request_url: str) -> bool: method handle (line 416) | async def handle(self, route: "Route") -> bool: method _handle_internal (line 440) | async def _handle_internal(self, route: "Route") -> bool: method stop (line 466) | async def stop(self, behavior: Literal["ignoreErrors", "wait"]) -> None: method will_expire (line 481) | def will_expire(self) -> bool: method prepare_interception_patterns (line 485) | def prepare_interception_patterns( function to_snake_case (line 510) | def to_snake_case(name: str) -> str: function make_dirs_for_file (line 514) | def make_dirs_for_file(path: Union[Path, str]) -> None: function async_writefile (line 520) | async def async_writefile(file: Union[str, Path], data: Union[str, bytes... function async_readfile (line 529) | async def async_readfile(file: Union[str, Path]) -> bytes: function to_impl (line 541) | def to_impl(obj: T) -> T: function object_to_array (line 547) | def object_to_array(obj: Optional[Dict]) -> Optional[List[NameValue]]: function is_file_payload (line 556) | def is_file_payload(value: Optional[Any]) -> bool: function is_textual_mime_type (line 570) | def is_textual_mime_type(mime_type: str) -> bool: FILE: playwright/_impl/_impl_to_api_mapping.py class ImplWrapper (line 25) | class ImplWrapper: method __init__ (line 26) | def __init__(self, impl_obj: Any) -> None: method __repr__ (line 29) | def __repr__(self) -> str: class ImplToApiMapping (line 33) | class ImplToApiMapping: method __init__ (line 34) | def __init__(self) -> None: method register (line 37) | def register(self, impl_class: type, api_class: type) -> None: method from_maybe_impl (line 40) | def from_maybe_impl( method from_impl (line 75) | def from_impl(self, obj: Any) -> Any: method from_impl_nullable (line 81) | def from_impl_nullable(self, obj: Any = None) -> Optional[Any]: method from_impl_list (line 84) | def from_impl_list(self, items: Sequence[Any]) -> List[Any]: method from_impl_dict (line 87) | def from_impl_dict(self, map: Dict[str, Any]) -> Dict[str, Any]: method to_impl (line 90) | def to_impl( method wrap_handler (line 120) | def wrap_handler(self, handler: Callable[..., Any]) -> Callable[..., N... FILE: playwright/_impl/_input.py class Keyboard (line 19) | class Keyboard: method __init__ (line 20) | def __init__(self, channel: Channel) -> None: method down (line 25) | async def down(self, key: str) -> None: method up (line 28) | async def up(self, key: str) -> None: method insert_text (line 31) | async def insert_text(self, text: str) -> None: method type (line 34) | async def type(self, text: str, delay: float = None) -> None: method press (line 37) | async def press(self, key: str, delay: float = None) -> None: class Mouse (line 41) | class Mouse: method __init__ (line 42) | def __init__(self, channel: Channel) -> None: method move (line 47) | async def move(self, x: float, y: float, steps: int = None) -> None: method down (line 50) | async def down( method up (line 57) | async def up( method _click (line 64) | async def _click( method click (line 77) | async def click( method dblclick (line 89) | async def dblclick( method wheel (line 100) | async def wheel(self, deltaX: float, deltaY: float) -> None: class Touchscreen (line 104) | class Touchscreen: method __init__ (line 105) | def __init__(self, channel: Channel) -> None: method tap (line 110) | async def tap(self, x: float, y: float) -> None: FILE: playwright/_impl/_js_handle.py class VisitorInfo (line 36) | class VisitorInfo: method __init__ (line 40) | def __init__(self) -> None: method visit (line 44) | def visit(self, obj: Any) -> int: class JSHandle (line 51) | class JSHandle(ChannelOwner): method __init__ (line 52) | def __init__( method __repr__ (line 61) | def __repr__(self) -> str: method __str__ (line 64) | def __str__(self) -> str: method _on_preview_updated (line 67) | def _on_preview_updated(self, preview: str) -> None: method evaluate (line 70) | async def evaluate(self, expression: str, arg: Serializable = None) ->... method evaluate_handle (line 82) | async def evaluate_handle( method get_property (line 96) | async def get_property(self, propertyName: str) -> "JSHandle": method get_properties (line 101) | async def get_properties(self) -> Dict[str, "JSHandle"]: method as_element (line 110) | def as_element(self) -> Optional["ElementHandle"]: method dispose (line 113) | async def dispose(self) -> None: method json_value (line 123) | async def json_value(self) -> Any: function serialize_value (line 132) | def serialize_value( function serialize_argument (line 207) | def serialize_argument(arg: Serializable = None) -> Any: function parse_value (line 213) | def parse_value(value: Any, refs: Optional[Dict[int, Any]] = None) -> Any: function parse_result (line 331) | def parse_result(result: Any) -> Any: function add_source_url_to_script (line 335) | def add_source_url_to_script(source: str, path: Union[str, Path]) -> str: FILE: playwright/_impl/_json_pipe.py class JsonPipeTransport (line 26) | class JsonPipeTransport(AsyncIOEventEmitter, Transport): method __init__ (line 27) | def __init__( method request_stop (line 37) | def request_stop(self) -> None: method dispose (line 41) | def dispose(self) -> None: method wait_until_stopped (line 45) | async def wait_until_stopped(self) -> None: method connect (line 48) | async def connect(self) -> None: method run (line 71) | async def run(self) -> None: method send (line 74) | def send(self, message: Dict) -> None: FILE: playwright/_impl/_local_utils.py class LocalUtils (line 23) | class LocalUtils(ChannelOwner): method __init__ (line 24) | def __init__( method zip (line 33) | async def zip(self, params: Dict) -> None: method har_open (line 36) | async def har_open(self, file: str) -> None: method har_lookup (line 40) | async def har_lookup( method har_close (line 57) | async def har_close(self, harId: str) -> None: method har_unzip (line 61) | async def har_unzip(self, zipFile: str, harFile: str) -> None: method tracing_started (line 65) | async def tracing_started(self, tracesDir: Optional[str], traceName: s... method trace_discarded (line 69) | async def trace_discarded(self, stacks_id: str) -> None: method add_stack_to_tracing_no_reply (line 72) | def add_stack_to_tracing_no_reply(self, id: int, frames: List[StackFra... function parse_device_descriptor (line 85) | def parse_device_descriptor(dict: Dict) -> Dict: FILE: playwright/_impl/_locator.py class Locator (line 65) | class Locator: method __init__ (line 66) | def __init__( method __repr__ (line 103) | def __repr__(self) -> str: method _with_element (line 106) | async def _with_element( method _equals (line 124) | def _equals(self, locator: "Locator") -> bool: method page (line 128) | def page(self) -> "Page": method bounding_box (line 131) | async def bounding_box(self, timeout: float = None) -> Optional[FloatR... method check (line 137) | async def check( method click (line 148) | async def click( method dblclick (line 164) | async def dblclick( method dispatch_event (line 179) | async def dispatch_event( method evaluate (line 188) | async def evaluate( method evaluate_all (line 196) | async def evaluate_all(self, expression: str, arg: Serializable = None... method evaluate_handle (line 200) | async def evaluate_handle( method fill (line 207) | async def fill( method clear (line 217) | async def clear( method locator (line 226) | def locator( method get_by_alt_text (line 255) | def get_by_alt_text( method get_by_label (line 260) | def get_by_label( method get_by_placeholder (line 265) | def get_by_placeholder( method get_by_role (line 270) | def get_by_role( method get_by_test_id (line 298) | def get_by_test_id(self, testId: Union[str, Pattern[str]]) -> "Locator": method get_by_text (line 301) | def get_by_text( method get_by_title (line 306) | def get_by_title( method frame_locator (line 311) | def frame_locator(self, selector: str) -> "FrameLocator": method element_handle (line 314) | async def element_handle( method element_handles (line 325) | async def element_handles(self) -> List[ElementHandle]: method first (line 329) | def first(self) -> "Locator": method last (line 333) | def last(self) -> "Locator": method nth (line 336) | def nth(self, index: int) -> "Locator": method content_frame (line 340) | def content_frame(self) -> "FrameLocator": method describe (line 343) | def describe(self, description: str) -> "Locator": method description (line 350) | def description(self) -> Optional[str]: method filter (line 363) | def filter( method or_ (line 381) | def or_(self, locator: "Locator") -> "Locator": method and_ (line 389) | def and_(self, locator: "Locator") -> "Locator": method focus (line 397) | async def focus(self, timeout: float = None) -> None: method blur (line 401) | async def blur(self, timeout: float = None) -> None: method all (line 412) | async def all( method count (line 420) | async def count( method drag_to (line 425) | async def drag_to( method get_attribute (line 442) | async def get_attribute(self, name: str, timeout: float = None) -> Opt... method hover (line 450) | async def hover( method inner_html (line 466) | async def inner_html(self, timeout: float = None) -> str: method inner_text (line 474) | async def inner_text(self, timeout: float = None) -> str: method input_value (line 482) | async def input_value(self, timeout: float = None) -> str: method is_checked (line 490) | async def is_checked(self, timeout: float = None) -> bool: method is_disabled (line 498) | async def is_disabled(self, timeout: float = None) -> bool: method is_editable (line 506) | async def is_editable(self, timeout: float = None) -> bool: method is_enabled (line 514) | async def is_enabled(self, timeout: float = None) -> bool: method is_hidden (line 522) | async def is_hidden(self, timeout: float = None) -> bool: method is_visible (line 529) | async def is_visible(self, timeout: float = None) -> bool: method press (line 536) | async def press( method screenshot (line 546) | async def screenshot( method aria_snapshot (line 567) | async def aria_snapshot(self, timeout: float = None) -> str: method scroll_into_view_if_needed (line 577) | async def scroll_into_view_if_needed( method select_option (line 586) | async def select_option( method select_text (line 603) | async def select_text(self, force: bool = None, timeout: float = None)... method set_input_files (line 610) | async def set_input_files( method tap (line 629) | async def tap( method text_content (line 645) | async def text_content(self, timeout: float = None) -> Optional[str]: method type (line 653) | async def type( method press_sequentially (line 667) | async def press_sequentially( method uncheck (line 676) | async def uncheck( method all_inner_texts (line 691) | async def all_inner_texts( method all_text_contents (line 698) | async def all_text_contents( method wait_for (line 705) | async def wait_for( method set_checked (line 714) | async def set_checked( method _expect (line 738) | async def _expect( method highlight (line 746) | async def highlight(self) -> None: class FrameLocator (line 750) | class FrameLocator: method __init__ (line 751) | def __init__(self, frame: "Frame", frame_selector: str) -> None: method locator (line 757) | def locator( method get_by_alt_text (line 786) | def get_by_alt_text( method get_by_label (line 791) | def get_by_label( method get_by_placeholder (line 796) | def get_by_placeholder( method get_by_role (line 801) | def get_by_role( method get_by_test_id (line 829) | def get_by_test_id(self, testId: Union[str, Pattern[str]]) -> "Locator": method get_by_text (line 832) | def get_by_text( method get_by_title (line 837) | def get_by_title( method frame_locator (line 842) | def frame_locator(self, selector: str) -> "FrameLocator": method first (line 849) | def first(self) -> "FrameLocator": method last (line 853) | def last(self) -> "FrameLocator": method owner (line 857) | def owner(self) -> "Locator": method nth (line 860) | def nth(self, index: int) -> "FrameLocator": method __repr__ (line 863) | def __repr__(self) -> str: function test_id_attribute_name (line 870) | def test_id_attribute_name() -> str: function set_test_id_attribute_name (line 874) | def set_test_id_attribute_name(attribute_name: str) -> None: function get_by_test_id_selector (line 879) | def get_by_test_id_selector( function get_by_attribute_text_selector (line 885) | def get_by_attribute_text_selector( function get_by_label_selector (line 891) | def get_by_label_selector(text: Union[str, Pattern[str]], exact: bool = ... function get_by_alt_text_selector (line 895) | def get_by_alt_text_selector(text: Union[str, Pattern[str]], exact: bool... function get_by_title_selector (line 899) | def get_by_title_selector(text: Union[str, Pattern[str]], exact: bool = ... function get_by_placeholder_selector (line 903) | def get_by_placeholder_selector( function get_by_text_selector (line 909) | def get_by_text_selector(text: Union[str, Pattern[str]], exact: bool = N... function bool_to_js_bool (line 913) | def bool_to_js_bool(value: bool) -> str: function get_by_role_selector (line 917) | def get_by_role_selector( FILE: playwright/_impl/_map.py class Map (line 20) | class Map(Generic[K, V]): method __init__ (line 21) | def __init__(self) -> None: method __contains__ (line 24) | def __contains__(self, item: K) -> bool: method __setitem__ (line 27) | def __setitem__(self, idx: K, value: V) -> None: method __getitem__ (line 30) | def __getitem__(self, obj: K) -> V: FILE: playwright/_impl/_network.py class FallbackOverrideParameters (line 72) | class FallbackOverrideParameters(TypedDict, total=False): class SerializedFallbackOverrides (line 79) | class SerializedFallbackOverrides: method __init__ (line 80) | def __init__(self) -> None: function serialize_headers (line 87) | def serialize_headers(headers: Dict[str, str]) -> HeadersArray: function to_client_certificates_protocol (line 95) | async def to_client_certificates_protocol( class Request (line 129) | class Request(ChannelOwner): method __init__ (line 130) | def __init__( method __repr__ (line 158) | def __repr__(self) -> str: method _apply_fallback_overrides (line 161) | def _apply_fallback_overrides(self, overrides: FallbackOverrideParamet... method url (line 180) | def url(self) -> str: method resource_type (line 184) | def resource_type(self) -> str: method service_worker (line 188) | def service_worker(self) -> Optional["Worker"]: method method (line 195) | def method(self) -> str: method sizes (line 198) | async def sizes(self) -> RequestSizes: method post_data (line 208) | def post_data(self) -> Optional[str]: method post_data_json (line 218) | def post_data_json(self) -> Optional[Any]: method post_data_buffer (line 231) | def post_data_buffer(self) -> Optional[bytes]: method response (line 238) | async def response(self) -> Optional["Response"]: method frame (line 247) | def frame(self) -> "Frame": method is_navigation_request (line 263) | def is_navigation_request(self) -> bool: method redirected_from (line 267) | def redirected_from(self) -> Optional["Request"]: method redirected_to (line 271) | def redirected_to(self) -> Optional["Request"]: method failure (line 275) | def failure(self) -> Optional[str]: method timing (line 279) | def timing(self) -> ResourceTiming: method _set_response_end_timing (line 282) | def _set_response_end_timing(self, response_end_timing: float) -> None: method headers (line 288) | def headers(self) -> Headers: method all_headers (line 294) | async def all_headers(self) -> Headers: method headers_array (line 297) | async def headers_array(self) -> HeadersArray: method header_value (line 300) | async def header_value(self, name: str) -> Optional[str]: method _actual_headers (line 303) | async def _actual_headers(self) -> "RawHeaders": method _target_closed_future (line 315) | def _target_closed_future(self) -> asyncio.Future: method _safe_page (line 326) | def _safe_page(self) -> "Optional[Page]": class Route (line 333) | class Route(ChannelOwner): method __init__ (line 334) | def __init__( method _start_handling (line 342) | def _start_handling(self) -> "asyncio.Future[bool]": method _report_handled (line 346) | def _report_handled(self, done: bool) -> None: method _check_not_handled (line 352) | def _check_not_handled(self) -> None: method __repr__ (line 356) | def __repr__(self) -> str: method request (line 360) | def request(self) -> Request: method abort (line 363) | async def abort(self, errorCode: str = None) -> None: method fulfill (line 376) | async def fulfill( method _inner_fulfill (line 392) | async def _inner_fulfill( method _handle_route (line 456) | async def _handle_route(self, callback: Callable) -> None: method fetch (line 465) | async def fetch( method fallback (line 488) | async def fallback( method continue_ (line 500) | async def continue_( method _inner_continue (line 515) | async def _inner_continue(self, is_fallback: bool = False) -> None: method _redirected_navigation_request (line 537) | async def _redirected_navigation_request(self, url: str) -> None: method _race_with_page_close (line 544) | async def _race_with_page_close(self, future: Coroutine) -> None: function _create_task_and_ignore_exception (line 563) | def _create_task_and_ignore_exception( class ServerWebSocketRoute (line 575) | class ServerWebSocketRoute: method __init__ (line 576) | def __init__(self, ws: "WebSocketRoute"): method on_message (line 579) | def on_message(self, handler: Callable[[Union[str, bytes]], Any]) -> N... method on_close (line 582) | def on_close(self, handler: Callable[[Optional[int], Optional[str]], A... method connect_to_server (line 585) | def connect_to_server(self) -> None: method url (line 591) | def url(self) -> str: method close (line 594) | def close(self, code: int = None, reason: str = None) -> None: method send (line 608) | def send(self, message: Union[str, bytes]) -> None: class WebSocketRoute (line 627) | class WebSocketRoute(ChannelOwner): method __init__ (line 628) | def __init__( method _channel_message_from_page (line 648) | def _channel_message_from_page(self, event: Dict) -> None: method _channel_message_from_server (line 660) | def _channel_message_from_server(self, event: Dict) -> None: method _channel_close_page (line 672) | def _channel_close_page(self, event: Dict) -> None: method _channel_close_server (line 680) | def _channel_close_server(self, event: Dict) -> None: method url (line 689) | def url(self) -> str: method close (line 692) | async def close(self, code: int = None, reason: str = None) -> None: method connect_to_server (line 700) | def connect_to_server(self) -> "WebSocketRoute": method send (line 712) | def send(self, message: Union[str, bytes]) -> None: method on_message (line 733) | def on_message(self, handler: Callable[[Union[str, bytes]], Any]) -> N... method on_close (line 736) | def on_close(self, handler: Callable[[Optional[int], Optional[str]], A... method _after_handle (line 739) | async def _after_handle(self) -> None: class WebSocketRouteHandler (line 752) | class WebSocketRouteHandler: method __init__ (line 753) | def __init__( method prepare_interception_patterns (line 764) | def prepare_interception_patterns( method matches (line 786) | def matches(self, ws_url: str) -> bool: method handle (line 789) | async def handle(self, websocket_route: "WebSocketRoute") -> None: class Response (line 796) | class Response(ChannelOwner): method __init__ (line 797) | def __init__( method __repr__ (line 817) | def __repr__(self) -> str: method url (line 821) | def url(self) -> str: method ok (line 825) | def ok(self) -> bool: method status (line 832) | def status(self) -> int: method status_text (line 836) | def status_text(self) -> str: method headers (line 840) | def headers(self) -> Headers: method from_service_worker (line 844) | def from_service_worker(self) -> bool: method all_headers (line 847) | async def all_headers(self) -> Headers: method headers_array (line 850) | async def headers_array(self) -> HeadersArray: method header_value (line 853) | async def header_value(self, name: str) -> Optional[str]: method header_values (line 856) | async def header_values(self, name: str) -> List[str]: method _actual_headers (line 859) | async def _actual_headers(self) -> "RawHeaders": method server_addr (line 872) | async def server_addr(self) -> Optional[RemoteAddr]: method security_details (line 878) | async def security_details(self) -> Optional[SecurityDetails]: method finished (line 884) | async def finished(self) -> None: method body (line 900) | async def body(self) -> bytes: method text (line 907) | async def text(self) -> str: method json (line 911) | async def json(self) -> Any: method request (line 915) | def request(self) -> Request: method frame (line 919) | def frame(self) -> "Frame": class WebSocket (line 923) | class WebSocket(ChannelOwner): method __init__ (line 931) | def __init__( method __repr__ (line 951) | def __repr__(self) -> str: method url (line 955) | def url(self) -> str: method expect_event (line 958) | def expect_event( method wait_for_event (line 981) | async def wait_for_event( method _on_frame_sent (line 988) | def _on_frame_sent(self, opcode: int, data: str) -> None: method _on_frame_received (line 994) | def _on_frame_received(self, opcode: int, data: str) -> None: method is_closed (line 1000) | def is_closed(self) -> bool: method _on_close (line 1003) | def _on_close(self) -> None: class RawHeaders (line 1008) | class RawHeaders: method __init__ (line 1009) | def __init__(self, headers: HeadersArray) -> None: method _from_headers_dict_lossy (line 1016) | def _from_headers_dict_lossy(headers: Dict[str, str]) -> "RawHeaders": method get (line 1019) | def get(self, name: str) -> Optional[str]: method get_all (line 1026) | def get_all(self, name: str) -> List[str]: method headers (line 1029) | def headers(self) -> Dict[str, str]: method headers_array (line 1035) | def headers_array(self) -> HeadersArray: FILE: playwright/_impl/_object_factory.py class DummyObject (line 43) | class DummyObject(ChannelOwner): method __init__ (line 44) | def __init__( function create_remote_object (line 50) | def create_remote_object( FILE: playwright/_impl/_page.py class LocatorHandler (line 111) | class LocatorHandler: method __init__ (line 116) | def __init__( method __call__ (line 123) | def __call__(self) -> Any: class Page (line 130) | class Page(ChannelOwner): method __init__ (line 156) | def __init__( method __repr__ (line 270) | def __repr__(self) -> str: method _on_frame_attached (line 273) | def _on_frame_attached(self, frame: Frame) -> None: method _on_frame_detached (line 278) | def _on_frame_detached(self, frame: Frame) -> None: method _on_route (line 283) | async def _on_route(self, route: Route) -> None: method _on_web_socket_route (line 316) | async def _on_web_socket_route(self, web_socket_route: WebSocketRoute)... method _on_binding (line 330) | def _on_binding(self, binding_call: "BindingCall") -> None: method _on_worker (line 336) | def _on_worker(self, worker: "Worker") -> None: method _on_close (line 341) | def _on_close(self) -> None: method _on_crash (line 348) | def _on_crash(self) -> None: method _on_download (line 351) | def _on_download(self, params: Any) -> None: method _on_video (line 359) | def _on_video(self, params: Any) -> None: method _on_viewport_size_changed (line 363) | def _on_viewport_size_changed(self, params: Any) -> None: method context (line 367) | def context(self) -> "BrowserContext": method clock (line 371) | def clock(self) -> Clock: method opener (line 374) | async def opener(self) -> Optional["Page"]: method main_frame (line 380) | def main_frame(self) -> Frame: method frame (line 383) | def frame(self, name: str = None, url: URLMatch = None) -> Optional[Fr... method frames (line 393) | def frames(self) -> List[Frame]: method set_default_navigation_timeout (line 396) | def set_default_navigation_timeout(self, timeout: float) -> None: method set_default_timeout (line 399) | def set_default_timeout(self, timeout: float) -> None: method query_selector (line 402) | async def query_selector( method query_selector_all (line 409) | async def query_selector_all(self, selector: str) -> List[ElementHandle]: method wait_for_selector (line 412) | async def wait_for_selector( method is_checked (line 421) | async def is_checked( method is_disabled (line 426) | async def is_disabled( method is_editable (line 431) | async def is_editable( method is_enabled (line 436) | async def is_enabled( method is_hidden (line 441) | async def is_hidden( method is_visible (line 447) | async def is_visible( method dispatch_event (line 453) | async def dispatch_event( method evaluate (line 463) | async def evaluate(self, expression: str, arg: Serializable = None) ->... method evaluate_handle (line 466) | async def evaluate_handle( method eval_on_selector (line 471) | async def eval_on_selector( method eval_on_selector_all (line 482) | async def eval_on_selector_all( method add_script_tag (line 490) | async def add_script_tag( method add_style_tag (line 499) | async def add_style_tag( method expose_function (line 504) | async def expose_function(self, name: str, callback: Callable) -> None: method expose_binding (line 507) | async def expose_binding( method set_extra_http_headers (line 523) | async def set_extra_http_headers(self, headers: Dict[str, str]) -> None: method url (line 531) | def url(self) -> str: method content (line 534) | async def content(self) -> str: method set_content (line 537) | async def set_content( method goto (line 545) | async def goto( method reload (line 554) | async def reload( method wait_for_load_state (line 567) | async def wait_for_load_state( method wait_for_url (line 574) | async def wait_for_url( method wait_for_event (line 582) | async def wait_for_event( method go_back (line 589) | async def go_back( method go_forward (line 602) | async def go_forward( method request_gc (line 615) | async def request_gc(self) -> None: method emulate_media (line 618) | async def emulate_media( method set_viewport_size (line 647) | async def set_viewport_size(self, viewportSize: ViewportSize) -> None: method viewport_size (line 656) | def viewport_size(self) -> Optional[ViewportSize]: method bring_to_front (line 659) | async def bring_to_front(self) -> None: method add_init_script (line 662) | async def add_init_script( method route (line 673) | async def route( method unroute (line 688) | async def unroute( method _unroute_internal (line 700) | async def _unroute_internal( method route_web_socket (line 716) | async def route_web_socket( method _dispose_har_routers (line 725) | def _dispose_har_routers(self) -> None: method unroute_all (line 730) | async def unroute_all( method route_from_har (line 736) | async def route_from_har( method _update_interception_patterns (line 763) | async def _update_interception_patterns(self) -> None: method _update_web_socket_interception_patterns (line 771) | async def _update_web_socket_interception_patterns(self) -> None: method screenshot (line 781) | async def screenshot( method title (line 823) | async def title(self) -> str: method close (line 826) | async def close(self, runBeforeUnload: bool = None, reason: str = None... method is_closed (line 837) | def is_closed(self) -> bool: method click (line 840) | async def click( method dblclick (line 856) | async def dblclick( method tap (line 871) | async def tap( method fill (line 884) | async def fill( method locator (line 895) | def locator( method get_by_alt_text (line 911) | def get_by_alt_text( method get_by_label (line 916) | def get_by_label( method get_by_placeholder (line 921) | def get_by_placeholder( method get_by_role (line 926) | def get_by_role( method get_by_test_id (line 952) | def get_by_test_id(self, testId: Union[str, Pattern[str]]) -> "Locator": method get_by_text (line 955) | def get_by_text( method get_by_title (line 960) | def get_by_title( method frame_locator (line 965) | def frame_locator(self, selector: str) -> "FrameLocator": method focus (line 968) | async def focus( method text_content (line 973) | async def text_content( method inner_text (line 978) | async def inner_text( method inner_html (line 983) | async def inner_html( method get_attribute (line 988) | async def get_attribute( method hover (line 993) | async def hover( method drag_and_drop (line 1006) | async def drag_and_drop( method select_option (line 1021) | async def select_option( method input_value (line 1036) | async def input_value( method set_input_files (line 1042) | async def set_input_files( method type (line 1054) | async def type( method press (line 1065) | async def press( method check (line 1076) | async def check( method uncheck (line 1088) | async def uncheck( method wait_for_timeout (line 1100) | async def wait_for_timeout(self, timeout: float) -> None: method wait_for_function (line 1103) | async def wait_for_function( method workers (line 1113) | def workers(self) -> List["Worker"]: method request (line 1117) | def request(self) -> "APIRequestContext": method pause (line 1120) | async def pause(self) -> None: method pdf (line 1143) | async def pdf( method _force_video (line 1171) | def _force_video(self) -> Video: method video (line 1177) | def video( method _close_error_with_reason (line 1187) | def _close_error_with_reason(self) -> TargetClosedError: method expect_event (line 1192) | def expect_event( method _expect_event (line 1202) | def _expect_event( method expect_console_message (line 1226) | def expect_console_message( method expect_download (line 1233) | def expect_download( method expect_file_chooser (line 1240) | def expect_file_chooser( method expect_navigation (line 1247) | def expect_navigation( method expect_popup (line 1255) | def expect_popup( method expect_request (line 1262) | def expect_request( method expect_request_finished (line 1285) | def expect_request_finished( method expect_response (line 1294) | def expect_response( method expect_websocket (line 1317) | def expect_websocket( method expect_worker (line 1324) | def expect_worker( method set_checked (line 1331) | async def set_checked( method add_locator_handler (line 1361) | async def add_locator_handler( method _on_locator_handler_triggered (line 1384) | async def _on_locator_handler_triggered(self, uid: str) -> None: method remove_locator_handler (line 1424) | async def remove_locator_handler(self, locator: "Locator") -> None: method requests (line 1434) | async def requests(self) -> List[Request]: method console_messages (line 1438) | async def console_messages(self) -> List[ConsoleMessage]: method page_errors (line 1447) | async def page_errors(self) -> List[Error]: class Worker (line 1452) | class Worker(ChannelOwner): method __init__ (line 1455) | def __init__( method __repr__ (line 1464) | def __repr__(self) -> str: method _on_close (line 1467) | def _on_close(self) -> None: method url (line 1475) | def url(self) -> str: method evaluate (line 1478) | async def evaluate(self, expression: str, arg: Serializable = None) ->... method evaluate_handle (line 1490) | async def evaluate_handle( method expect_event (line 1504) | def expect_event( class BindingCall (line 1530) | class BindingCall(ChannelOwner): method __init__ (line 1531) | def __init__( method call (line 1536) | async def call(self, func: Callable) -> None: function trim_url (line 1559) | def trim_url(param: Union[URLMatchRequest, URLMatchResponse]) -> Optiona... function trim_end (line 1567) | def trim_end(s: str) -> str: FILE: playwright/_impl/_path_utils.py function get_file_dirname (line 21) | def get_file_dirname() -> Path: FILE: playwright/_impl/_playwright.py class Playwright (line 23) | class Playwright(ChannelOwner): method __init__ (line 31) | def __init__( method __getitem__ (line 47) | def __getitem__(self, value: str) -> "BrowserType": method _set_selectors (line 56) | def _set_selectors(self, selectors: Selectors) -> None: method stop (line 59) | async def stop(self) -> None: FILE: playwright/_impl/_selectors.py class Selectors (line 25) | class Selectors: method __init__ (line 26) | def __init__(self, loop: asyncio.AbstractEventLoop, dispatcher_fiber: ... method register (line 33) | async def register( method set_test_id_attribute (line 59) | def set_test_id_attribute(self, attributeName: str) -> None: FILE: playwright/_impl/_set_input_files_helpers.py class InputFilesList (line 43) | class InputFilesList(TypedDict, total=False): function _list_files (line 51) | def _list_files(directory: str) -> List[str]: function convert_input_files (line 59) | async def convert_input_files( function resolve_paths_and_directory_for_input_files (line 142) | def resolve_paths_and_directory_for_input_files( FILE: playwright/_impl/_str_utils.py function escape_regex_flags (line 20) | def escape_regex_flags(pattern: Pattern) -> str: function escape_for_regex (line 38) | def escape_for_regex(text: str) -> str: function escape_regex_for_selector (line 42) | def escape_regex_for_selector(text: Pattern) -> str: function escape_for_text_selector (line 54) | def escape_for_text_selector( function escape_for_attribute_selector (line 62) | def escape_for_attribute_selector( FILE: playwright/_impl/_stream.py class Stream (line 22) | class Stream(ChannelOwner): method __init__ (line 23) | def __init__( method save_as (line 28) | async def save_as(self, path: Union[str, Path]) -> None: method read_all (line 39) | async def read_all(self) -> bytes: FILE: playwright/_impl/_sync_base.py class EventInfo (line 45) | class EventInfo(Generic[T]): method __init__ (line 46) | def __init__(self, sync_base: "SyncBase", future: "asyncio.Future[T]")... method value (line 53) | def value(self) -> T: method _cancel (line 62) | def _cancel(self) -> None: method is_done (line 65) | def is_done(self) -> bool: class EventContextManager (line 69) | class EventContextManager(Generic[T], AbstractContextManager): method __init__ (line 70) | def __init__(self, sync_base: "SyncBase", future: "asyncio.Future[T]")... method __enter__ (line 73) | def __enter__(self) -> EventInfo[T]: method __exit__ (line 76) | def __exit__( class SyncBase (line 88) | class SyncBase(ImplWrapper): method __init__ (line 89) | def __init__(self, impl_obj: Any) -> None: method __str__ (line 94) | def __str__(self) -> str: method _sync (line 97) | def _sync( method _wrap_handler (line 117) | def _wrap_handler( method on (line 124) | def on(self, event: Any, f: Any) -> None: method once (line 128) | def once(self, event: Any, f: Any) -> None: method remove_listener (line 134) | def remove_listener(self, event: Any, f: Any) -> None: class SyncContextManager (line 139) | class SyncContextManager(SyncBase): method __enter__ (line 140) | def __enter__(self: Self) -> Self: method __exit__ (line 143) | def __exit__( method close (line 151) | def close(self) -> None: ... FILE: playwright/_impl/_tracing.py class Tracing (line 24) | class Tracing(ChannelOwner): method __init__ (line 25) | def __init__( method start (line 34) | async def start( method start_chunk (line 51) | async def start_chunk(self, title: str = None, name: str = None) -> None: method _start_collecting_stacks (line 56) | async def _start_collecting_stacks(self, trace_name: str) -> None: method stop_chunk (line 64) | async def stop_chunk(self, path: Union[pathlib.Path, str] = None) -> N... method stop (line 67) | async def stop(self, path: Union[pathlib.Path, str] = None) -> None: method _do_stop_chunk (line 74) | async def _do_stop_chunk(self, file_path: Union[pathlib.Path, str] = N... method _reset_stack_counter (line 134) | def _reset_stack_counter(self) -> None: method group (line 139) | async def group(self, name: str, location: TracingGroupLocation = None... method group_end (line 142) | async def group_end(self) -> None: FILE: playwright/_impl/_transport.py function _get_stderr_fileno (line 29) | def _get_stderr_fileno() -> Optional[int]: class Transport (line 48) | class Transport(ABC): method __init__ (line 49) | def __init__(self, loop: asyncio.AbstractEventLoop) -> None: method request_stop (line 55) | def request_stop(self) -> None: method dispose (line 58) | def dispose(self) -> None: method wait_until_stopped (line 62) | async def wait_until_stopped(self) -> None: method connect (line 66) | async def connect(self) -> None: method run (line 70) | async def run(self) -> None: method send (line 74) | def send(self, message: Dict) -> None: method serialize_message (line 77) | def serialize_message(self, message: Dict) -> bytes: method deserialize_message (line 83) | def deserialize_message(self, data: Union[str, bytes]) -> ParsedMessag... class PipeTransport (line 91) | class PipeTransport(Transport): method __init__ (line 92) | def __init__(self, loop: asyncio.AbstractEventLoop) -> None: method request_stop (line 96) | def request_stop(self) -> None: method wait_until_stopped (line 101) | async def wait_until_stopped(self) -> None: method connect (line 104) | async def connect(self) -> None: method run (line 137) | async def run(self) -> None: method send (line 173) | def send(self, message: Dict) -> None: FILE: playwright/_impl/_video.py class Video (line 25) | class Video: method __init__ (line 26) | def __init__(self, page: "Page") -> None: method __repr__ (line 36) | def __repr__(self) -> str: method _page_closed (line 39) | def _page_closed(self) -> None: method _artifact_ready (line 43) | def _artifact_ready(self, artifact: Artifact) -> None: method path (line 47) | async def path(self) -> pathlib.Path: method save_as (line 57) | async def save_as(self, path: Union[str, pathlib.Path]) -> None: method delete (line 67) | async def delete(self) -> None: FILE: playwright/_impl/_waiter.py class Waiter (line 27) | class Waiter: method __init__ (line 28) | def __init__(self, channel_owner: ChannelOwner, event: str) -> None: method _wait_for_event_info_before (line 38) | def _wait_for_event_info_before(self, wait_id: str, event: str) -> None: method _wait_for_event_info_after (line 51) | def _wait_for_event_info_after(self, wait_id: str, error: Exception = ... method reject_on_event (line 67) | def reject_on_event( method reject_on_timeout (line 81) | def reject_on_timeout(self, timeout: float, message: str) -> None: method _cleanup (line 91) | def _cleanup(self) -> None: method _fulfill (line 98) | def _fulfill(self, result: Any) -> None: method _reject (line 104) | def _reject(self, exception: Exception) -> None: method wait_for_event (line 113) | def wait_for_event( method result (line 126) | def result(self) -> asyncio.Future: method log (line 129) | def log(self, message: str) -> None: function throw_on_timeout (line 150) | def throw_on_timeout(timeout: float, exception: Exception) -> asyncio.Task: function format_log_recording (line 158) | def format_log_recording(log: List[str]) -> str: FILE: playwright/_impl/_web_error.py class WebError (line 22) | class WebError: method __init__ (line 23) | def __init__( method page (line 36) | def page(self) -> Optional[Page]: method error (line 40) | def error(self) -> Error: FILE: playwright/_impl/_writable_stream.py class WritableStream (line 27) | class WritableStream(ChannelOwner): method __init__ (line 28) | def __init__( method copy (line 33) | async def copy(self, path: Union[str, Path]) -> None: FILE: playwright/async_api/__init__.py function async_playwright (line 88) | def async_playwright() -> PlaywrightContextManager: class Expect (line 92) | class Expect: method __init__ (line 95) | def __init__(self) -> None: method set_options (line 98) | def set_options(self, timeout: Optional[float] = _unset) -> None: method __call__ (line 112) | def __call__( method __call__ (line 117) | def __call__( method __call__ (line 122) | def __call__( method __call__ (line 126) | def __call__( FILE: playwright/async_api/_context_manager.py class PlaywrightContextManager (line 24) | class PlaywrightContextManager: method __init__ (line 25) | def __init__(self) -> None: method __aenter__ (line 29) | async def __aenter__(self) -> AsyncPlaywright: method start (line 50) | async def start(self) -> AsyncPlaywright: method __aexit__ (line 53) | async def __aexit__(self, *args: Any) -> None: FILE: playwright/async_api/_generated.py class Request (line 88) | class Request(AsyncBase): method url (line 91) | def url(self) -> str: method resource_type (line 103) | def resource_type(self) -> str: method service_worker (line 117) | def service_worker(self) -> typing.Optional["Worker"]: method method (line 135) | def method(self) -> str: method post_data (line 147) | def post_data(self) -> typing.Optional[str]: method post_data_json (line 159) | def post_data_json(self) -> typing.Optional[typing.Any]: method post_data_buffer (line 174) | def post_data_buffer(self) -> typing.Optional[bytes]: method frame (line 186) | def frame(self) -> "Frame": method redirected_from (line 213) | def redirected_from(self) -> typing.Optional["Request"]: method redirected_to (line 245) | def redirected_to(self) -> typing.Optional["Request"]: method failure (line 265) | def failure(self) -> typing.Optional[str]: method timing (line 285) | def timing(self) -> ResourceTiming: method headers (line 308) | def headers(self) -> typing.Dict[str, str]: method sizes (line 321) | async def sizes(self) -> RequestSizes: method response (line 333) | async def response(self) -> typing.Optional["Response"]: method is_navigation_request (line 345) | def is_navigation_request(self) -> bool: method all_headers (line 360) | async def all_headers(self) -> typing.Dict[str, str]: method headers_array (line 372) | async def headers_array(self) -> typing.List[NameValue]: method header_value (line 386) | async def header_value(self, name: str) -> typing.Optional[str]: class Response (line 407) | class Response(AsyncBase): method url (line 410) | def url(self) -> str: method ok (line 422) | def ok(self) -> bool: method status (line 434) | def status(self) -> int: method status_text (line 446) | def status_text(self) -> str: method headers (line 458) | def headers(self) -> typing.Dict[str, str]: method from_service_worker (line 472) | def from_service_worker(self) -> bool: method request (line 485) | def request(self) -> "Request": method frame (line 497) | def frame(self) -> "Frame": method all_headers (line 508) | async def all_headers(self) -> typing.Dict[str, str]: method headers_array (line 520) | async def headers_array(self) -> typing.List[NameValue]: method header_value (line 534) | async def header_value(self, name: str) -> typing.Optional[str]: method header_values (line 553) | async def header_values(self, name: str) -> typing.List[str]: method server_addr (line 570) | async def server_addr(self) -> typing.Optional[RemoteAddr]: method security_details (line 582) | async def security_details(self) -> typing.Optional[SecurityDetails]: method finished (line 594) | async def finished(self) -> None: method body (line 602) | async def body(self) -> bytes: method text (line 614) | async def text(self) -> str: method json (line 626) | async def json(self) -> typing.Any: class Route (line 644) | class Route(AsyncBase): method request (line 647) | def request(self) -> "Request": method abort (line 658) | async def abort(self, error_code: typing.Optional[str] = None) -> None: method fulfill (line 687) | async def fulfill( method fetch (line 751) | async def fetch( method fallback (line 823) | async def fallback( method continue_ (line 914) | async def continue_( class WebSocket (line 981) | class WebSocket(AsyncBase): method on (line 984) | def on( method on (line 993) | def on( method on (line 1004) | def on( method on (line 1015) | def on( method on (line 1023) | def on( method once (line 1031) | def once( method once (line 1040) | def once( method once (line 1051) | def once( method once (line 1062) | def once( method once (line 1070) | def once( method url (line 1078) | def url(self) -> str: method expect_event (line 1089) | def expect_event( method wait_for_event (line 1122) | async def wait_for_event( method is_closed (line 1158) | def is_closed(self) -> bool: class WebSocketRoute (line 1174) | class WebSocketRoute(AsyncBase): method url (line 1177) | def url(self) -> str: method close (line 1188) | async def close( method connect_to_server (line 1207) | def connect_to_server(self) -> "WebSocketRoute": method send (line 1230) | def send(self, message: typing.Union[str, bytes]) -> None: method on_message (line 1245) | def on_message( method on_close (line 1271) | def on_close( class Keyboard (line 1301) | class Keyboard(AsyncBase): method down (line 1303) | async def down(self, key: str) -> None: method up (line 1342) | async def up(self, key: str) -> None: method insert_text (line 1355) | async def insert_text(self, text: str) -> None: method type (line 1377) | async def type(self, text: str, *, delay: typing.Optional[float] = Non... method press (line 1410) | async def press(self, key: str, *, delay: typing.Optional[float] = Non... class Mouse (line 1465) | class Mouse(AsyncBase): method move (line 1467) | async def move( method down (line 1487) | async def down( method up (line 1509) | async def up( method click (line 1531) | async def click( method dblclick (line 1564) | async def dblclick( method wheel (line 1593) | async def wheel(self, delta_x: float, delta_y: float) -> None: class Touchscreen (line 1618) | class Touchscreen(AsyncBase): method tap (line 1620) | async def tap(self, x: float, y: float) -> None: class JSHandle (line 1641) | class JSHandle(AsyncBase): method evaluate (line 1643) | async def evaluate( method evaluate_handle (line 1681) | async def evaluate_handle( method get_property (line 1717) | async def get_property(self, property_name: str) -> "JSHandle": method get_properties (line 1736) | async def get_properties(self) -> typing.Dict[str, "JSHandle"]: method as_element (line 1758) | def as_element(self) -> typing.Optional["ElementHandle"]: method dispose (line 1770) | async def dispose(self) -> None: method json_value (line 1778) | async def json_value(self) -> typing.Any: class ElementHandle (line 1797) | class ElementHandle(JSHandle): method as_element (line 1799) | def as_element(self) -> typing.Optional["ElementHandle"]: method owner_frame (line 1811) | async def owner_frame(self) -> typing.Optional["Frame"]: method content_frame (line 1823) | async def content_frame(self) -> typing.Optional["Frame"]: method get_attribute (line 1835) | async def get_attribute(self, name: str) -> typing.Optional[str]: method text_content (line 1852) | async def text_content(self) -> typing.Optional[str]: method inner_text (line 1864) | async def inner_text(self) -> str: method inner_html (line 1876) | async def inner_html(self) -> str: method is_checked (line 1888) | async def is_checked(self) -> bool: method is_disabled (line 1900) | async def is_disabled(self) -> bool: method is_editable (line 1912) | async def is_editable(self) -> bool: method is_enabled (line 1924) | async def is_enabled(self) -> bool: method is_hidden (line 1936) | async def is_hidden(self) -> bool: method is_visible (line 1948) | async def is_visible(self) -> bool: method dispatch_event (line 1960) | async def dispatch_event( method scroll_into_view_if_needed (line 2012) | async def scroll_into_view_if_needed( method hover (line 2037) | async def hover( method click (line 2094) | async def click( method dblclick (line 2171) | async def dblclick( method select_option (line 2243) | async def select_option( method tap (line 2319) | async def tap( method fill (line 2378) | async def fill( method select_text (line 2418) | async def select_text( method input_value (line 2446) | async def input_value(self, *, timeout: typing.Optional[float] = None)... method set_input_files (line 2470) | async def set_input_files( method focus (line 2511) | async def focus(self) -> None: method type (line 2519) | async def type( method press (line 2556) | async def press( method set_checked (line 2610) | async def set_checked( method check (line 2665) | async def check( method uncheck (line 2717) | async def uncheck( method bounding_box (line 2769) | async def bounding_box(self) -> typing.Optional[FloatRect]: method screenshot (line 2799) | async def screenshot( method query_selector (line 2891) | async def query_selector(self, selector: str) -> typing.Optional["Elem... method query_selector_all (line 2911) | async def query_selector_all(self, selector: str) -> typing.List["Elem... method eval_on_selector (line 2931) | async def eval_on_selector( method eval_on_selector_all (line 2973) | async def eval_on_selector_all( method wait_for_element_state (line 3021) | async def wait_for_element_state( method wait_for_selector (line 3059) | async def wait_for_selector( class FileChooser (line 3124) | class FileChooser(AsyncBase): method page (line 3127) | def page(self) -> "Page": method element (line 3139) | def element(self) -> "ElementHandle": method is_multiple (line 3150) | def is_multiple(self) -> bool: method set_files (line 3162) | async def set_files( class Frame (line 3201) | class Frame(AsyncBase): method page (line 3204) | def page(self) -> "Page": method name (line 3216) | def name(self) -> str: method url (line 3233) | def url(self) -> str: method parent_frame (line 3245) | def parent_frame(self) -> typing.Optional["Frame"]: method child_frames (line 3257) | def child_frames(self) -> typing.List["Frame"]: method goto (line 3266) | async def goto( method expect_navigation (line 3330) | def expect_navigation( method wait_for_url (line 3392) | async def wait_for_url( method wait_for_load_state (line 3439) | async def wait_for_load_state( method frame_element (line 3485) | async def frame_element(self) -> "ElementHandle": method evaluate (line 3510) | async def evaluate( method evaluate_handle (line 3566) | async def evaluate_handle( method query_selector (line 3620) | async def query_selector( method query_selector_all (line 3649) | async def query_selector_all(self, selector: str) -> typing.List["Elem... method wait_for_selector (line 3673) | async def wait_for_selector( method is_checked (line 3749) | async def is_checked( method is_disabled (line 3783) | async def is_disabled( method is_editable (line 3817) | async def is_editable( method is_enabled (line 3851) | async def is_enabled( method is_hidden (line 3885) | async def is_hidden( method is_visible (line 3911) | async def is_visible( method dispatch_event (line 3937) | async def dispatch_event( method eval_on_selector (line 4008) | async def eval_on_selector( method eval_on_selector_all (line 4061) | async def eval_on_selector_all( method content (line 4101) | async def content(self) -> str: method set_content (line 4113) | async def set_content( method is_detached (line 4152) | def is_detached(self) -> bool: method add_script_tag (line 4164) | async def add_script_tag( method add_style_tag (line 4202) | async def add_style_tag( method click (line 4235) | async def click( method dblclick (line 4319) | async def dblclick( method tap (line 4399) | async def tap( method fill (line 4470) | async def fill( method locator (line 4524) | def locator( method get_by_alt_text (line 4585) | def get_by_alt_text( method get_by_label (line 4622) | def get_by_label( method get_by_placeholder (line 4663) | def get_by_placeholder( method get_by_role (line 4704) | def get_by_role( method get_by_test_id (line 4905) | def get_by_test_id( method get_by_text (line 4943) | def get_by_text( method get_by_title (line 5007) | def get_by_title( method frame_locator (line 5046) | def frame_locator(self, selector: str) -> "FrameLocator": method focus (line 5074) | async def focus( method text_content (line 5105) | async def text_content( method inner_text (line 5139) | async def inner_text( method inner_html (line 5173) | async def inner_html( method get_attribute (line 5207) | async def get_attribute( method hover (line 5244) | async def hover( method drag_and_drop (line 5313) | async def drag_and_drop( method select_option (line 5377) | async def select_option( method input_value (line 5462) | async def input_value( method set_input_files (line 5500) | async def set_input_files( method type (line 5552) | async def type( method press (line 5602) | async def press( method check (line 5667) | async def check( method uncheck (line 5729) | async def uncheck( method wait_for_timeout (line 5791) | async def wait_for_timeout(self, timeout: float) -> None: method wait_for_function (line 5809) | async def wait_for_function( method title (line 5880) | async def title(self) -> str: method set_checked (line 5892) | async def set_checked( class FrameLocator (line 5962) | class FrameLocator(AsyncBase): method first (line 5965) | def first(self) -> "FrameLocator": method last (line 5977) | def last(self) -> "FrameLocator": method owner (line 5989) | def owner(self) -> "Locator": method locator (line 6014) | def locator( method get_by_alt_text (line 6072) | def get_by_alt_text( method get_by_label (line 6109) | def get_by_label( method get_by_placeholder (line 6150) | def get_by_placeholder( method get_by_role (line 6191) | def get_by_role( method get_by_test_id (line 6392) | def get_by_test_id( method get_by_text (line 6430) | def get_by_text( method get_by_title (line 6494) | def get_by_title( method frame_locator (line 6533) | def frame_locator(self, selector: str) -> "FrameLocator": method nth (line 6551) | def nth(self, index: int) -> "FrameLocator": class Worker (line 6571) | class Worker(AsyncBase): method on (line 6574) | def on( method on (line 6584) | def on( method on (line 6595) | def on( method once (line 6603) | def once( method once (line 6613) | def once( method once (line 6624) | def once( method url (line 6632) | def url(self) -> str: method evaluate (line 6641) | async def evaluate( method evaluate_handle (line 6674) | async def evaluate_handle( method expect_event (line 6706) | def expect_event( class Selectors (line 6751) | class Selectors(AsyncBase): method register (line 6753) | async def register( method set_test_id_attribute (line 6830) | def set_test_id_attribute(self, attribute_name: str) -> None: class Clock (line 6849) | class Clock(AsyncBase): method install (line 6851) | async def install( method fast_forward (line 6882) | async def fast_forward(self, ticks: typing.Union[int, str]) -> None: method pause_at (line 6904) | async def pause_at(self, time: typing.Union[float, str, datetime.datet... method resume (line 6941) | async def resume(self) -> None: method run_for (line 6949) | async def run_for(self, ticks: typing.Union[int, str]) -> None: method set_fixed_time (line 6970) | async def set_fixed_time( method set_system_time (line 6996) | async def set_system_time( class ConsoleMessage (line 7024) | class ConsoleMessage(AsyncBase): method type (line 7027) | def type( method text (line 7059) | def text(self) -> str: method args (line 7071) | def args(self) -> typing.List["JSHandle"]: method location (line 7083) | def location(self) -> SourceLocation: method page (line 7093) | def page(self) -> typing.Optional["Page"]: method worker (line 7105) | def worker(self) -> typing.Optional["Worker"]: class Dialog (line 7121) | class Dialog(AsyncBase): method type (line 7124) | def type(self) -> str: method message (line 7136) | def message(self) -> str: method default_value (line 7148) | def default_value(self) -> str: method page (line 7160) | def page(self) -> typing.Optional["Page"]: method accept (line 7171) | async def accept(self, prompt_text: typing.Optional[str] = None) -> None: method dismiss (line 7186) | async def dismiss(self) -> None: class Download (line 7198) | class Download(AsyncBase): method page (line 7201) | def page(self) -> "Page": method url (line 7213) | def url(self) -> str: method suggested_filename (line 7225) | def suggested_filename(self) -> str: method delete (line 7239) | async def delete(self) -> None: method failure (line 7247) | async def failure(self) -> typing.Optional[str]: method path (line 7259) | async def path(self) -> pathlib.Path: method save_as (line 7275) | async def save_as(self, path: typing.Union[str, pathlib.Path]) -> None: method cancel (line 7295) | async def cancel(self) -> None: class Video (line 7308) | class Video(AsyncBase): method path (line 7310) | async def path(self) -> pathlib.Path: method save_as (line 7323) | async def save_as(self, path: typing.Union[str, pathlib.Path]) -> None: method delete (line 7337) | async def delete(self) -> None: class Page (line 7349) | class Page(AsyncContextManager): method on (line 7352) | def on( method on (line 7361) | def on( method on (line 7387) | def on( method on (line 7410) | def on( method on (line 7431) | def on( method on (line 7442) | def on( method on (line 7452) | def on( method on (line 7468) | def on( method on (line 7477) | def on( method on (line 7486) | def on( method on (line 7495) | def on( method on (line 7505) | def on( method on (line 7522) | def on( method on (line 7548) | def on( method on (line 7558) | def on( method on (line 7576) | def on( method on (line 7586) | def on( method on (line 7596) | def on( method on (line 7605) | def on( method on (line 7614) | def on( method once (line 7622) | def once( method once (line 7631) | def once( method once (line 7657) | def once( method once (line 7680) | def once( method once (line 7701) | def once( method once (line 7712) | def once( method once (line 7722) | def once( method once (line 7738) | def once( method once (line 7747) | def once( method once (line 7756) | def once( method once (line 7765) | def once( method once (line 7775) | def once( method once (line 7792) | def once( method once (line 7818) | def once( method once (line 7828) | def once( method once (line 7846) | def once( method once (line 7856) | def once( method once (line 7866) | def once( method once (line 7875) | def once( method once (line 7884) | def once( method keyboard (line 7892) | def keyboard(self) -> "Keyboard": method mouse (line 7902) | def mouse(self) -> "Mouse": method touchscreen (line 7912) | def touchscreen(self) -> "Touchscreen": method context (line 7922) | def context(self) -> "BrowserContext": method clock (line 7934) | def clock(self) -> "Clock": method main_frame (line 7946) | def main_frame(self) -> "Frame": method frames (line 7958) | def frames(self) -> typing.List["Frame"]: method url (line 7970) | def url(self) -> str: method viewport_size (line 7980) | def viewport_size(self) -> typing.Optional[ViewportSize]: method workers (line 7990) | def workers(self) -> typing.List["Worker"]: method request (line 8005) | def request(self) -> "APIRequestContext": method video (line 8019) | def video(self) -> typing.Optional["Video"]: method opener (line 8030) | async def opener(self) -> typing.Optional["Page"]: method frame (line 8042) | def frame( method set_default_navigation_timeout (line 8076) | def set_default_navigation_timeout(self, timeout: float) -> None: method set_default_timeout (line 8101) | def set_default_timeout(self, timeout: float) -> None: method query_selector (line 8118) | async def query_selector( method query_selector_all (line 8143) | async def query_selector_all(self, selector: str) -> typing.List["Elem... method wait_for_selector (line 8163) | async def wait_for_selector( method is_checked (line 8239) | async def is_checked( method is_disabled (line 8273) | async def is_disabled( method is_editable (line 8307) | async def is_editable( method is_enabled (line 8341) | async def is_enabled( method is_hidden (line 8375) | async def is_hidden( method is_visible (line 8409) | async def is_visible( method dispatch_event (line 8443) | async def dispatch_event( method evaluate (line 8514) | async def evaluate( method evaluate_handle (line 8572) | async def evaluate_handle( method eval_on_selector (line 8626) | async def eval_on_selector( method eval_on_selector_all (line 8677) | async def eval_on_selector_all( method add_script_tag (line 8715) | async def add_script_tag( method add_style_tag (line 8752) | async def add_style_tag( method expose_function (line 8783) | async def expose_function(self, name: str, callback: typing.Callable) ... method expose_binding (line 8845) | async def expose_binding( method set_extra_http_headers (line 8914) | async def set_extra_http_headers(self, headers: typing.Dict[str, str])... method content (line 8933) | async def content(self) -> str: method set_content (line 8945) | async def set_content( method goto (line 8984) | async def goto( method reload (line 9050) | async def reload( method wait_for_load_state (line 9089) | async def wait_for_load_state( method wait_for_url (line 9144) | async def wait_for_url( method wait_for_event (line 9191) | async def wait_for_event( method go_back (line 9227) | async def go_back( method go_forward (line 9267) | async def go_forward( method request_gc (line 9307) | async def request_gc(self) -> None: method emulate_media (line 9329) | async def emulate_media( method set_viewport_size (line 9402) | async def set_viewport_size(self, viewport_size: ViewportSize) -> None: method bring_to_front (line 9430) | async def bring_to_front(self) -> None: method add_init_script (line 9438) | async def add_init_script( method route (line 9479) | async def route( method unroute (line 9564) | async def unroute( method route_web_socket (line 9593) | async def route_web_socket( method unroute_all (line 9636) | async def unroute_all( method route_from_har (line 9660) | async def route_from_har( method screenshot (line 9715) | async def screenshot( method title (line 9809) | async def title(self) -> str: method close (line 9821) | async def close( method is_closed (line 9850) | def is_closed(self) -> bool: method click (line 9862) | async def click( method dblclick (line 9946) | async def dblclick( method tap (line 10025) | async def tap( method fill (line 10096) | async def fill( method locator (line 10150) | def locator( method get_by_alt_text (line 10209) | def get_by_alt_text( method get_by_label (line 10246) | def get_by_label( method get_by_placeholder (line 10287) | def get_by_placeholder( method get_by_role (line 10328) | def get_by_role( method get_by_test_id (line 10529) | def get_by_test_id( method get_by_text (line 10567) | def get_by_text( method get_by_title (line 10631) | def get_by_title( method frame_locator (line 10670) | def frame_locator(self, selector: str) -> "FrameLocator": method focus (line 10698) | async def focus( method text_content (line 10729) | async def text_content( method inner_text (line 10763) | async def inner_text( method inner_html (line 10797) | async def inner_html( method get_attribute (line 10831) | async def get_attribute( method hover (line 10868) | async def hover( method drag_and_drop (line 10937) | async def drag_and_drop( method select_option (line 11017) | async def select_option( method input_value (line 11103) | async def input_value( method set_input_files (line 11141) | async def set_input_files( method type (line 11194) | async def type( method press (line 11244) | async def press( method check (line 11325) | async def check( method uncheck (line 11387) | async def uncheck( method wait_for_timeout (line 11449) | async def wait_for_timeout(self, timeout: float) -> None: method wait_for_function (line 11474) | async def wait_for_function( method pause (line 11545) | async def pause(self) -> None: method pdf (line 11559) | async def pdf( method expect_event (line 11693) | def expect_event( method expect_console_message (line 11734) | def expect_console_message( method expect_download (line 11765) | def expect_download( method expect_file_chooser (line 11796) | def expect_file_chooser( method expect_navigation (line 11827) | def expect_navigation( method expect_popup (line 11891) | def expect_popup( method expect_request (line 11922) | def expect_request( method expect_request_finished (line 11969) | def expect_request_finished( method expect_response (line 12000) | def expect_response( method expect_websocket (line 12049) | def expect_websocket( method expect_worker (line 12080) | def expect_worker( method set_checked (line 12111) | async def set_checked( method add_locator_handler (line 12177) | async def add_locator_handler( method remove_locator_handler (line 12300) | async def remove_locator_handler(self, locator: "Locator") -> None: method requests (line 12315) | async def requests(self) -> typing.List["Request"]: method console_messages (line 12334) | async def console_messages(self) -> typing.List["ConsoleMessage"]: method page_errors (line 12346) | async def page_errors(self) -> typing.List["Error"]: class WebError (line 12362) | class WebError(AsyncBase): method page (line 12365) | def page(self) -> typing.Optional["Page"]: method error (line 12377) | def error(self) -> "Error": class BrowserContext (line 12392) | class BrowserContext(AsyncContextManager): method on (line 12395) | def on( method on (line 12404) | def on( method on (line 12418) | def on( method on (line 12444) | def on( method on (line 12465) | def on( method on (line 12492) | def on( method on (line 12502) | def on( method on (line 12515) | def on( method on (line 12529) | def on( method on (line 12540) | def on( method on (line 12551) | def on( method on (line 12561) | def on( method once (line 12569) | def once( method once (line 12578) | def once( method once (line 12592) | def once( method once (line 12618) | def once( method once (line 12639) | def once( method once (line 12666) | def once( method once (line 12676) | def once( method once (line 12689) | def once( method once (line 12703) | def once( method once (line 12714) | def once( method once (line 12725) | def once( method once (line 12735) | def once( method pages (line 12743) | def pages(self) -> typing.List["Page"]: method browser (line 12755) | def browser(self) -> typing.Optional["Browser"]: method background_pages (line 12768) | def background_pages(self) -> typing.List["Page"]: method service_workers (line 12780) | def service_workers(self) -> typing.List["Worker"]: method tracing (line 12794) | def tracing(self) -> "Tracing": method request (line 12804) | def request(self) -> "APIRequestContext": method clock (line 12816) | def clock(self) -> "Clock": method set_default_navigation_timeout (line 12827) | def set_default_navigation_timeout(self, timeout: float) -> None: method set_default_timeout (line 12851) | def set_default_timeout(self, timeout: float) -> None: method new_page (line 12870) | async def new_page(self) -> "Page": method cookies (line 12882) | async def cookies( method add_cookies (line 12904) | async def add_cookies(self, cookies: typing.Sequence[SetCookieParam]) ... method clear_cookies (line 12925) | async def clear_cookies( method grant_permissions (line 12960) | async def grant_permissions( method clear_permissions (line 13004) | async def clear_permissions(self) -> None: method set_geolocation (line 13021) | async def set_geolocation( method set_extra_http_headers (line 13046) | async def set_extra_http_headers(self, headers: typing.Dict[str, str])... method set_offline (line 13068) | async def set_offline(self, offline: bool) -> None: method add_init_script (line 13081) | async def add_init_script( method expose_binding (line 13122) | async def expose_binding( method expose_function (line 13189) | async def expose_function(self, name: str, callback: typing.Callable) ... method route (line 13250) | async def route( method unroute (line 13331) | async def unroute( method route_web_socket (line 13361) | async def route_web_socket( method unroute_all (line 13406) | async def unroute_all( method route_from_har (line 13430) | async def route_from_har( method expect_event (line 13485) | def expect_event( method close (line 13526) | async def close(self, *, reason: typing.Optional[str] = None) -> None: method storage_state (line 13541) | async def storage_state( method wait_for_event (line 13571) | async def wait_for_event( method expect_console_message (line 13607) | def expect_console_message( method expect_page (line 13639) | def expect_page( method new_cdp_session (line 13670) | async def new_cdp_session( class CDPSession (line 13696) | class CDPSession(AsyncBase): method send (line 13698) | async def send( method detach (line 13719) | async def detach(self) -> None: class Browser (line 13732) | class Browser(AsyncContextManager): method on (line 13734) | def on( method once (line 13746) | def once( method contexts (line 13759) | def contexts(self) -> typing.List["BrowserContext"]: method browser_type (line 13780) | def browser_type(self) -> "BrowserType": method version (line 13792) | def version(self) -> str: method is_connected (line 13803) | def is_connected(self) -> bool: method new_context (line 13815) | async def new_context( method new_page (line 14066) | async def new_page( method close (line 14301) | async def close(self, *, reason: typing.Optional[str] = None) -> None: method new_browser_cdp_session (line 14324) | async def new_browser_cdp_session(self) -> "CDPSession": method start_tracing (line 14338) | async def start_tracing( method stop_tracing (line 14385) | async def stop_tracing(self) -> bytes: class BrowserType (line 14406) | class BrowserType(AsyncBase): method name (line 14409) | def name(self) -> str: method executable_path (line 14421) | def executable_path(self) -> str: method launch (line 14432) | async def launch( method launch_persistent_context (line 14567) | async def launch_persistent_context( method connect_over_cdp (line 14894) | async def connect_over_cdp( method connect (line 14955) | async def connect( class Playwright (line 15016) | class Playwright(AsyncBase): method devices (line 15019) | def devices(self) -> typing.Dict: method selectors (line 15051) | def selectors(self) -> "Selectors": method chromium (line 15064) | def chromium(self) -> "BrowserType": method firefox (line 15076) | def firefox(self) -> "BrowserType": method webkit (line 15088) | def webkit(self) -> "BrowserType": method request (line 15100) | def request(self) -> "APIRequest": method __getitem__ (line 15111) | def __getitem__(self, value: str) -> "BrowserType": method stop (line 15115) | async def stop(self) -> None: class Tracing (line 15142) | class Tracing(AsyncBase): method start (line 15144) | async def start( method start_chunk (line 15203) | async def start_chunk( method stop_chunk (line 15244) | async def stop_chunk( method stop (line 15259) | async def stop( method group (line 15274) | async def group( method group_end (line 15308) | async def group_end(self) -> None: class Locator (line 15320) | class Locator(AsyncBase): method page (line 15323) | def page(self) -> "Page": method first (line 15335) | def first(self) -> "Locator": method last (line 15347) | def last(self) -> "Locator": method content_frame (line 15365) | def content_frame(self) -> "FrameLocator": method description (line 15391) | def description(self) -> typing.Optional[str]: method bounding_box (line 15413) | async def bounding_box( method check (line 15456) | async def check( method click (line 15518) | async def click( method dblclick (line 15617) | async def dblclick( method dispatch_event (line 15695) | async def dispatch_event( method evaluate (line 15757) | async def evaluate( method evaluate_all (line 15808) | async def evaluate_all( method evaluate_handle (line 15850) | async def evaluate_handle( method fill (line 15898) | async def fill( method clear (line 15948) | async def clear( method locator (line 15993) | def locator( method get_by_alt_text (line 16051) | def get_by_alt_text( method get_by_label (line 16088) | def get_by_label( method get_by_placeholder (line 16129) | def get_by_placeholder( method get_by_role (line 16170) | def get_by_role( method get_by_test_id (line 16371) | def get_by_test_id( method get_by_text (line 16409) | def get_by_text( method get_by_title (line 16473) | def get_by_title( method frame_locator (line 16512) | def frame_locator(self, selector: str) -> "FrameLocator": method element_handle (line 16537) | async def element_handle( method element_handles (line 16558) | async def element_handles(self) -> typing.List["ElementHandle"]: method nth (line 16570) | def nth(self, index: int) -> "Locator": method describe (line 16592) | def describe(self, description: str) -> "Locator": method filter (line 16617) | def filter( method or_ (line 16684) | def or_(self, locator: "Locator") -> "Locator": method and_ (line 16722) | def and_(self, locator: "Locator") -> "Locator": method focus (line 16747) | async def focus(self, *, timeout: typing.Optional[float] = None) -> None: method blur (line 16761) | async def blur(self, *, timeout: typing.Optional[float] = None) -> None: method all (line 16775) | async def all(self) -> typing.List["Locator"]: method count (line 16804) | async def count(self) -> int: method drag_to (line 16825) | async def drag_to( method get_attribute (line 16900) | async def get_attribute( method hover (line 16927) | async def hover( method inner_html (line 16996) | async def inner_html(self, *, timeout: typing.Optional[float] = None) ... method inner_text (line 17014) | async def inner_text(self, *, timeout: typing.Optional[float] = None) ... method input_value (line 17035) | async def input_value(self, *, timeout: typing.Optional[float] = None)... method is_checked (line 17071) | async def is_checked(self, *, timeout: typing.Optional[float] = None) ... method is_disabled (line 17098) | async def is_disabled(self, *, timeout: typing.Optional[float] = None)... method is_editable (line 17127) | async def is_editable(self, *, timeout: typing.Optional[float] = None)... method is_enabled (line 17158) | async def is_enabled(self, *, timeout: typing.Optional[float] = None) ... method is_hidden (line 17185) | async def is_hidden(self, *, timeout: typing.Optional[float] = None) -... method is_visible (line 17211) | async def is_visible(self, *, timeout: typing.Optional[float] = None) ... method press (line 17237) | async def press( method screenshot (line 17301) | async def screenshot( method aria_snapshot (line 17409) | async def aria_snapshot(self, *, timeout: typing.Optional[float] = Non... method scroll_into_view_if_needed (line 17464) | async def scroll_into_view_if_needed( method select_option (line 17486) | async def select_option( method select_text (line 17574) | async def select_text( method set_input_files (line 17602) | async def set_input_files( method tap (line 17670) | async def tap( method text_content (line 17736) | async def text_content( method type (line 17761) | async def type( method press_sequentially (line 17798) | async def press_sequentially( method uncheck (line 17851) | async def uncheck( method all_inner_texts (line 17913) | async def all_inner_texts(self) -> typing.List[str]: method all_text_contents (line 17934) | async def all_text_contents(self) -> typing.List[str]: method wait_for (line 17955) | async def wait_for( method set_checked (line 17996) | async def set_checked( method highlight (line 18061) | async def highlight(self) -> None: class APIResponse (line 18074) | class APIResponse(AsyncBase): method ok (line 18077) | def ok(self) -> bool: method url (line 18089) | def url(self) -> str: method status (line 18101) | def status(self) -> int: method status_text (line 18113) | def status_text(self) -> str: method headers (line 18125) | def headers(self) -> typing.Dict[str, str]: method headers_array (line 18137) | def headers_array(self) -> typing.List[NameValue]: method body (line 18149) | async def body(self) -> bytes: method text (line 18161) | async def text(self) -> str: method json (line 18173) | async def json(self) -> typing.Any: method dispose (line 18187) | async def dispose(self) -> None: class APIRequestContext (line 18199) | class APIRequestContext(AsyncBase): method dispose (line 18201) | async def dispose(self, *, reason: typing.Optional[str] = None) -> None: method delete (line 18216) | async def delete( method head (line 18297) | async def head( method get (line 18378) | async def get( method patch (line 18471) | async def patch( method put (line 18552) | async def put( method post (line 18633) | async def post( method fetch (line 18745) | async def fetch( method storage_state (line 18845) | async def storage_state( class APIRequest (line 18877) | class APIRequest(AsyncBase): method new_context (line 18879) | async def new_context( class PageAssertions (line 18980) | class PageAssertions(AsyncBase): method to_have_title (line 18982) | async def to_have_title( method not_to_have_title (line 19017) | async def not_to_have_title( method to_have_url (line 19042) | async def to_have_url( method not_to_have_url (line 19081) | async def not_to_have_url( class LocatorAssertions (line 19114) | class LocatorAssertions(AsyncBase): method to_contain_text (line 19116) | async def to_contain_text( method not_to_contain_text (line 19208) | async def not_to_contain_text( method to_have_attribute (line 19249) | async def to_have_attribute( method not_to_have_attribute (line 19290) | async def not_to_have_attribute( method to_have_class (line 19322) | async def to_have_class( method not_to_have_class (line 19379) | async def not_to_have_class( method to_contain_class (line 19410) | async def to_contain_class( method not_to_contain_class (line 19471) | async def not_to_contain_class( method to_have_count (line 19496) | async def to_have_count( method not_to_have_count (line 19525) | async def not_to_have_count( method to_have_css (line 19545) | async def to_have_css( method not_to_have_css (line 19580) | async def not_to_have_css( method to_have_id (line 19608) | async def to_have_id( method not_to_have_id (line 19640) | async def not_to_have_id( method to_have_js_property (line 19663) | async def to_have_js_property( method not_to_have_js_property (line 19697) | async def not_to_have_js_property( method to_have_value (line 19721) | async def to_have_value( method not_to_have_value (line 19755) | async def not_to_have_value( method to_have_values (line 19778) | async def to_have_values( method not_to_have_values (line 19829) | async def not_to_have_values( method to_have_text (line 19858) | async def to_have_text( method not_to_have_text (line 19949) | async def not_to_have_text( method to_be_attached (line 19990) | async def to_be_attached( method to_be_checked (line 20019) | async def to_be_checked( method not_to_be_attached (line 20058) | async def not_to_be_attached( method not_to_be_checked (line 20080) | async def not_to_be_checked( method to_be_disabled (line 20098) | async def to_be_disabled(self, *, timeout: typing.Optional[float] = No... method not_to_be_disabled (line 20127) | async def not_to_be_disabled( method to_be_editable (line 20145) | async def to_be_editable( method not_to_be_editable (line 20176) | async def not_to_be_editable( method to_be_empty (line 20198) | async def to_be_empty(self, *, timeout: typing.Optional[float] = None)... method not_to_be_empty (line 20223) | async def not_to_be_empty(self, *, timeout: typing.Optional[float] = N... method to_be_enabled (line 20239) | async def to_be_enabled( method not_to_be_enabled (line 20270) | async def not_to_be_enabled( method to_be_hidden (line 20292) | async def to_be_hidden(self, *, timeout: typing.Optional[float] = None... method not_to_be_hidden (line 20318) | async def not_to_be_hidden(self, *, timeout: typing.Optional[float] = ... method to_be_visible (line 20334) | async def to_be_visible( method not_to_be_visible (line 20375) | async def not_to_be_visible( method to_be_focused (line 20397) | async def to_be_focused(self, *, timeout: typing.Optional[float] = Non... method not_to_be_focused (line 20422) | async def not_to_be_focused( method to_be_in_viewport (line 20440) | async def to_be_in_viewport( method not_to_be_in_viewport (line 20479) | async def not_to_be_in_viewport( method to_have_accessible_description (line 20501) | async def to_have_accessible_description( method not_to_have_accessible_description (line 20538) | async def not_to_have_accessible_description( method to_have_accessible_name (line 20567) | async def to_have_accessible_name( method not_to_have_accessible_name (line 20604) | async def not_to_have_accessible_name( method to_have_role (line 20633) | async def to_have_role( method to_have_accessible_error_message (line 20749) | async def to_have_accessible_error_message( method not_to_have_accessible_error_message (line 20786) | async def not_to_have_accessible_error_message( method not_to_have_role (line 20815) | async def not_to_have_role( method to_match_aria_snapshot (line 20921) | async def to_match_aria_snapshot( method not_to_match_aria_snapshot (line 20952) | async def not_to_match_aria_snapshot( class APIResponseAssertions (line 20977) | class APIResponseAssertions(AsyncBase): method to_be_ok (line 20979) | async def to_be_ok(self) -> None: method not_to_be_ok (line 20997) | async def not_to_be_ok(self) -> None: FILE: playwright/sync_api/__init__.py function sync_playwright (line 88) | def sync_playwright() -> PlaywrightContextManager: class Expect (line 92) | class Expect: method __init__ (line 95) | def __init__(self) -> None: method set_options (line 98) | def set_options(self, timeout: Optional[float] = _unset) -> None: method __call__ (line 112) | def __call__( method __call__ (line 117) | def __call__( method __call__ (line 122) | def __call__( method __call__ (line 126) | def __call__( FILE: playwright/sync_api/_context_manager.py class PlaywrightContextManager (line 32) | class PlaywrightContextManager: method __init__ (line 33) | def __init__(self) -> None: method __enter__ (line 40) | def __enter__(self) -> SyncPlaywright: method start (line 83) | def start(self) -> SyncPlaywright: method __exit__ (line 86) | def __exit__(self, *args: Any) -> None: FILE: playwright/sync_api/_generated.py class Request (line 88) | class Request(SyncBase): method url (line 91) | def url(self) -> str: method resource_type (line 103) | def resource_type(self) -> str: method service_worker (line 117) | def service_worker(self) -> typing.Optional["Worker"]: method method (line 135) | def method(self) -> str: method post_data (line 147) | def post_data(self) -> typing.Optional[str]: method post_data_json (line 159) | def post_data_json(self) -> typing.Optional[typing.Any]: method post_data_buffer (line 174) | def post_data_buffer(self) -> typing.Optional[bytes]: method frame (line 186) | def frame(self) -> "Frame": method redirected_from (line 213) | def redirected_from(self) -> typing.Optional["Request"]: method redirected_to (line 245) | def redirected_to(self) -> typing.Optional["Request"]: method failure (line 265) | def failure(self) -> typing.Optional[str]: method timing (line 285) | def timing(self) -> ResourceTiming: method headers (line 308) | def headers(self) -> typing.Dict[str, str]: method sizes (line 321) | def sizes(self) -> RequestSizes: method response (line 333) | def response(self) -> typing.Optional["Response"]: method is_navigation_request (line 345) | def is_navigation_request(self) -> bool: method all_headers (line 360) | def all_headers(self) -> typing.Dict[str, str]: method headers_array (line 372) | def headers_array(self) -> typing.List[NameValue]: method header_value (line 386) | def header_value(self, name: str) -> typing.Optional[str]: class Response (line 409) | class Response(SyncBase): method url (line 412) | def url(self) -> str: method ok (line 424) | def ok(self) -> bool: method status (line 436) | def status(self) -> int: method status_text (line 448) | def status_text(self) -> str: method headers (line 460) | def headers(self) -> typing.Dict[str, str]: method from_service_worker (line 474) | def from_service_worker(self) -> bool: method request (line 487) | def request(self) -> "Request": method frame (line 499) | def frame(self) -> "Frame": method all_headers (line 510) | def all_headers(self) -> typing.Dict[str, str]: method headers_array (line 522) | def headers_array(self) -> typing.List[NameValue]: method header_value (line 536) | def header_value(self, name: str) -> typing.Optional[str]: method header_values (line 557) | def header_values(self, name: str) -> typing.List[str]: method server_addr (line 576) | def server_addr(self) -> typing.Optional[RemoteAddr]: method security_details (line 588) | def security_details(self) -> typing.Optional[SecurityDetails]: method finished (line 600) | def finished(self) -> None: method body (line 608) | def body(self) -> bytes: method text (line 620) | def text(self) -> str: method json (line 632) | def json(self) -> typing.Any: class Route (line 650) | class Route(SyncBase): method request (line 653) | def request(self) -> "Request": method abort (line 664) | def abort(self, error_code: typing.Optional[str] = None) -> None: method fulfill (line 695) | def fulfill( method fetch (line 761) | def fetch( method fallback (line 835) | def fallback( method continue_ (line 928) | def continue_( class WebSocket (line 997) | class WebSocket(SyncBase): method on (line 1000) | def on( method on (line 1007) | def on( method on (line 1016) | def on( method on (line 1025) | def on( method on (line 1031) | def on(self, event: str, f: typing.Callable[..., None]) -> None: method once (line 1035) | def once( method once (line 1042) | def once( method once (line 1051) | def once( method once (line 1060) | def once( method once (line 1066) | def once(self, event: str, f: typing.Callable[..., None]) -> None: method url (line 1070) | def url(self) -> str: method expect_event (line 1081) | def expect_event( method wait_for_event (line 1114) | def wait_for_event( method is_closed (line 1154) | def is_closed(self) -> bool: class WebSocketRoute (line 1170) | class WebSocketRoute(SyncBase): method url (line 1173) | def url(self) -> str: method close (line 1184) | def close( method connect_to_server (line 1203) | def connect_to_server(self) -> "WebSocketRoute": method send (line 1226) | def send(self, message: typing.Union[str, bytes]) -> None: method on_message (line 1241) | def on_message( method on_close (line 1267) | def on_close( class Keyboard (line 1297) | class Keyboard(SyncBase): method down (line 1299) | def down(self, key: str) -> None: method up (line 1338) | def up(self, key: str) -> None: method insert_text (line 1351) | def insert_text(self, text: str) -> None: method type (line 1375) | def type(self, text: str, *, delay: typing.Optional[float] = None) -> ... method press (line 1408) | def press(self, key: str, *, delay: typing.Optional[float] = None) -> ... class Mouse (line 1465) | class Mouse(SyncBase): method move (line 1467) | def move(self, x: float, y: float, *, steps: typing.Optional[int] = No... method down (line 1487) | def down( method up (line 1509) | def up( method click (line 1531) | def click( method dblclick (line 1566) | def dblclick( method wheel (line 1595) | def wheel(self, delta_x: float, delta_y: float) -> None: class Touchscreen (line 1620) | class Touchscreen(SyncBase): method tap (line 1622) | def tap(self, x: float, y: float) -> None: class JSHandle (line 1643) | class JSHandle(SyncBase): method evaluate (line 1645) | def evaluate( method evaluate_handle (line 1683) | def evaluate_handle( method get_property (line 1721) | def get_property(self, property_name: str) -> "JSHandle": method get_properties (line 1740) | def get_properties(self) -> typing.Dict[str, "JSHandle"]: method as_element (line 1762) | def as_element(self) -> typing.Optional["ElementHandle"]: method dispose (line 1774) | def dispose(self) -> None: method json_value (line 1782) | def json_value(self) -> typing.Any: class ElementHandle (line 1801) | class ElementHandle(JSHandle): method as_element (line 1803) | def as_element(self) -> typing.Optional["ElementHandle"]: method owner_frame (line 1815) | def owner_frame(self) -> typing.Optional["Frame"]: method content_frame (line 1827) | def content_frame(self) -> typing.Optional["Frame"]: method get_attribute (line 1839) | def get_attribute(self, name: str) -> typing.Optional[str]: method text_content (line 1858) | def text_content(self) -> typing.Optional[str]: method inner_text (line 1870) | def inner_text(self) -> str: method inner_html (line 1882) | def inner_html(self) -> str: method is_checked (line 1894) | def is_checked(self) -> bool: method is_disabled (line 1906) | def is_disabled(self) -> bool: method is_editable (line 1918) | def is_editable(self) -> bool: method is_enabled (line 1930) | def is_enabled(self) -> bool: method is_hidden (line 1942) | def is_hidden(self) -> bool: method is_visible (line 1954) | def is_visible(self) -> bool: method dispatch_event (line 1966) | def dispatch_event( method scroll_into_view_if_needed (line 2020) | def scroll_into_view_if_needed( method hover (line 2045) | def hover( method click (line 2104) | def click( method dblclick (line 2183) | def dblclick( method select_option (line 2257) | def select_option( method tap (line 2335) | def tap( method fill (line 2396) | def fill( method select_text (line 2438) | def select_text( method input_value (line 2466) | def input_value(self, *, timeout: typing.Optional[float] = None) -> str: method set_input_files (line 2490) | def set_input_files( method focus (line 2535) | def focus(self) -> None: method type (line 2543) | def type( method press (line 2582) | def press( method set_checked (line 2638) | def set_checked( method check (line 2695) | def check( method uncheck (line 2749) | def uncheck( method bounding_box (line 2803) | def bounding_box(self) -> typing.Optional[FloatRect]: method screenshot (line 2833) | def screenshot( method query_selector (line 2927) | def query_selector(self, selector: str) -> typing.Optional["ElementHan... method query_selector_all (line 2947) | def query_selector_all(self, selector: str) -> typing.List["ElementHan... method eval_on_selector (line 2967) | def eval_on_selector( method eval_on_selector_all (line 3011) | def eval_on_selector_all( method wait_for_element_state (line 3061) | def wait_for_element_state( method wait_for_selector (line 3101) | def wait_for_selector( class FileChooser (line 3168) | class FileChooser(SyncBase): method page (line 3171) | def page(self) -> "Page": method element (line 3183) | def element(self) -> "ElementHandle": method is_multiple (line 3194) | def is_multiple(self) -> bool: method set_files (line 3206) | def set_files( class Frame (line 3249) | class Frame(SyncBase): method page (line 3252) | def page(self) -> "Page": method name (line 3264) | def name(self) -> str: method url (line 3281) | def url(self) -> str: method parent_frame (line 3293) | def parent_frame(self) -> typing.Optional["Frame"]: method child_frames (line 3305) | def child_frames(self) -> typing.List["Frame"]: method goto (line 3314) | def goto( method expect_navigation (line 3380) | def expect_navigation( method wait_for_url (line 3442) | def wait_for_url( method wait_for_load_state (line 3491) | def wait_for_load_state( method frame_element (line 3537) | def frame_element(self) -> "ElementHandle": method evaluate (line 3562) | def evaluate( method evaluate_handle (line 3618) | def evaluate_handle( method query_selector (line 3674) | def query_selector( method query_selector_all (line 3703) | def query_selector_all(self, selector: str) -> typing.List["ElementHan... method wait_for_selector (line 3727) | def wait_for_selector( method is_checked (line 3802) | def is_checked( method is_disabled (line 3838) | def is_disabled( method is_editable (line 3874) | def is_editable( method is_enabled (line 3910) | def is_enabled( method is_hidden (line 3946) | def is_hidden(self, selector: str, *, strict: typing.Optional[bool] = ... method is_visible (line 3970) | def is_visible( method dispatch_event (line 3996) | def dispatch_event( method eval_on_selector (line 4069) | def eval_on_selector( method eval_on_selector_all (line 4124) | def eval_on_selector_all( method content (line 4166) | def content(self) -> str: method set_content (line 4178) | def set_content( method is_detached (line 4219) | def is_detached(self) -> bool: method add_script_tag (line 4231) | def add_script_tag( method add_style_tag (line 4271) | def add_style_tag( method click (line 4306) | def click( method dblclick (line 4392) | def dblclick( method tap (line 4474) | def tap( method fill (line 4547) | def fill( method locator (line 4603) | def locator( method get_by_alt_text (line 4664) | def get_by_alt_text( method get_by_label (line 4701) | def get_by_label( method get_by_placeholder (line 4742) | def get_by_placeholder( method get_by_role (line 4783) | def get_by_role( method get_by_test_id (line 4984) | def get_by_test_id( method get_by_text (line 5022) | def get_by_text( method get_by_title (line 5086) | def get_by_title( method frame_locator (line 5125) | def frame_locator(self, selector: str) -> "FrameLocator": method focus (line 5153) | def focus( method text_content (line 5184) | def text_content( method inner_text (line 5220) | def inner_text( method inner_html (line 5256) | def inner_html( method get_attribute (line 5292) | def get_attribute( method hover (line 5331) | def hover( method drag_and_drop (line 5402) | def drag_and_drop( method select_option (line 5468) | def select_option( method input_value (line 5555) | def input_value( method set_input_files (line 5595) | def set_input_files( method type (line 5649) | def type( method press (line 5701) | def press( method check (line 5768) | def check( method uncheck (line 5832) | def uncheck( method wait_for_timeout (line 5896) | def wait_for_timeout(self, timeout: float) -> None: method wait_for_function (line 5914) | def wait_for_function( method title (line 5984) | def title(self) -> str: method set_checked (line 5996) | def set_checked( class FrameLocator (line 6068) | class FrameLocator(SyncBase): method first (line 6071) | def first(self) -> "FrameLocator": method last (line 6083) | def last(self) -> "FrameLocator": method owner (line 6095) | def owner(self) -> "Locator": method locator (line 6120) | def locator( method get_by_alt_text (line 6178) | def get_by_alt_text( method get_by_label (line 6215) | def get_by_label( method get_by_placeholder (line 6256) | def get_by_placeholder( method get_by_role (line 6297) | def get_by_role( method get_by_test_id (line 6498) | def get_by_test_id( method get_by_text (line 6536) | def get_by_text( method get_by_title (line 6600) | def get_by_title( method frame_locator (line 6639) | def frame_locator(self, selector: str) -> "FrameLocator": method nth (line 6657) | def nth(self, index: int) -> "FrameLocator": class Worker (line 6677) | class Worker(SyncBase): method on (line 6680) | def on( method on (line 6688) | def on( method on (line 6695) | def on(self, event: str, f: typing.Callable[..., None]) -> None: method once (line 6699) | def once( method once (line 6707) | def once( method once (line 6714) | def once(self, event: str, f: typing.Callable[..., None]) -> None: method url (line 6718) | def url(self) -> str: method evaluate (line 6727) | def evaluate( method evaluate_handle (line 6760) | def evaluate_handle( method expect_event (line 6794) | def expect_event( class Selectors (line 6839) | class Selectors(SyncBase): method register (line 6841) | def register( method set_test_id_attribute (line 6916) | def set_test_id_attribute(self, attribute_name: str) -> None: class Clock (line 6935) | class Clock(SyncBase): method install (line 6937) | def install( method fast_forward (line 6968) | def fast_forward(self, ticks: typing.Union[int, str]) -> None: method pause_at (line 6992) | def pause_at(self, time: typing.Union[float, str, datetime.datetime]) ... method resume (line 7029) | def resume(self) -> None: method run_for (line 7037) | def run_for(self, ticks: typing.Union[int, str]) -> None: method set_fixed_time (line 7058) | def set_fixed_time(self, time: typing.Union[float, str, datetime.datet... method set_system_time (line 7084) | def set_system_time( class ConsoleMessage (line 7114) | class ConsoleMessage(SyncBase): method type (line 7117) | def type( method text (line 7149) | def text(self) -> str: method args (line 7161) | def args(self) -> typing.List["JSHandle"]: method location (line 7173) | def location(self) -> SourceLocation: method page (line 7183) | def page(self) -> typing.Optional["Page"]: method worker (line 7195) | def worker(self) -> typing.Optional["Worker"]: class Dialog (line 7211) | class Dialog(SyncBase): method type (line 7214) | def type(self) -> str: method message (line 7226) | def message(self) -> str: method default_value (line 7238) | def default_value(self) -> str: method page (line 7250) | def page(self) -> typing.Optional["Page"]: method accept (line 7261) | def accept(self, prompt_text: typing.Optional[str] = None) -> None: method dismiss (line 7276) | def dismiss(self) -> None: class Download (line 7288) | class Download(SyncBase): method page (line 7291) | def page(self) -> "Page": method url (line 7303) | def url(self) -> str: method suggested_filename (line 7315) | def suggested_filename(self) -> str: method delete (line 7329) | def delete(self) -> None: method failure (line 7337) | def failure(self) -> typing.Optional[str]: method path (line 7349) | def path(self) -> pathlib.Path: method save_as (line 7365) | def save_as(self, path: typing.Union[str, pathlib.Path]) -> None: method cancel (line 7385) | def cancel(self) -> None: class Video (line 7398) | class Video(SyncBase): method path (line 7400) | def path(self) -> pathlib.Path: method save_as (line 7413) | def save_as(self, path: typing.Union[str, pathlib.Path]) -> None: method delete (line 7427) | def delete(self) -> None: class Page (line 7439) | class Page(SyncContextManager): method on (line 7442) | def on(self, event: Literal["close"], f: typing.Callable[["Page"], "No... method on (line 7447) | def on( method on (line 7467) | def on(self, event: Literal["crash"], f: typing.Callable[["Page"], "No... method on (line 7486) | def on( method on (line 7505) | def on( method on (line 7514) | def on( method on (line 7522) | def on( method on (line 7534) | def on( method on (line 7541) | def on( method on (line 7548) | def on( method on (line 7555) | def on(self, event: Literal["load"], f: typing.Callable[["Page"], "Non... method on (line 7561) | def on( method on (line 7576) | def on(self, event: Literal["popup"], f: typing.Callable[["Page"], "No... method on (line 7598) | def on( method on (line 7606) | def on( method on (line 7622) | def on( method on (line 7630) | def on( method on (line 7638) | def on( method on (line 7645) | def on( method on (line 7652) | def on(self, event: str, f: typing.Callable[..., None]) -> None: method once (line 7656) | def once( method once (line 7663) | def once( method once (line 7683) | def once( method once (line 7704) | def once( method once (line 7723) | def once( method once (line 7732) | def once( method once (line 7740) | def once( method once (line 7752) | def once( method once (line 7759) | def once( method once (line 7766) | def once( method once (line 7773) | def once( method once (line 7781) | def once( method once (line 7796) | def once( method once (line 7820) | def once( method once (line 7828) | def once( method once (line 7844) | def once( method once (line 7852) | def once( method once (line 7860) | def once( method once (line 7867) | def once( method once (line 7874) | def once(self, event: str, f: typing.Callable[..., None]) -> None: method keyboard (line 7878) | def keyboard(self) -> "Keyboard": method mouse (line 7888) | def mouse(self) -> "Mouse": method touchscreen (line 7898) | def touchscreen(self) -> "Touchscreen": method context (line 7908) | def context(self) -> "BrowserContext": method clock (line 7920) | def clock(self) -> "Clock": method main_frame (line 7932) | def main_frame(self) -> "Frame": method frames (line 7944) | def frames(self) -> typing.List["Frame"]: method url (line 7956) | def url(self) -> str: method viewport_size (line 7966) | def viewport_size(self) -> typing.Optional[ViewportSize]: method workers (line 7976) | def workers(self) -> typing.List["Worker"]: method request (line 7991) | def request(self) -> "APIRequestContext": method video (line 8005) | def video(self) -> typing.Optional["Video"]: method opener (line 8016) | def opener(self) -> typing.Optional["Page"]: method frame (line 8028) | def frame( method set_default_navigation_timeout (line 8062) | def set_default_navigation_timeout(self, timeout: float) -> None: method set_default_timeout (line 8087) | def set_default_timeout(self, timeout: float) -> None: method query_selector (line 8104) | def query_selector( method query_selector_all (line 8129) | def query_selector_all(self, selector: str) -> typing.List["ElementHan... method wait_for_selector (line 8149) | def wait_for_selector( method is_checked (line 8224) | def is_checked( method is_disabled (line 8260) | def is_disabled( method is_editable (line 8296) | def is_editable( method is_enabled (line 8332) | def is_enabled( method is_hidden (line 8368) | def is_hidden( method is_visible (line 8404) | def is_visible( method dispatch_event (line 8440) | def dispatch_event( method evaluate (line 8513) | def evaluate( method evaluate_handle (line 8571) | def evaluate_handle( method eval_on_selector (line 8627) | def eval_on_selector( method eval_on_selector_all (line 8680) | def eval_on_selector_all( method add_script_tag (line 8720) | def add_script_tag( method add_style_tag (line 8759) | def add_style_tag( method expose_function (line 8792) | def expose_function(self, name: str, callback: typing.Callable) -> None: method expose_binding (line 8853) | def expose_binding( method set_extra_http_headers (line 8921) | def set_extra_http_headers(self, headers: typing.Dict[str, str]) -> None: method content (line 8940) | def content(self) -> str: method set_content (line 8952) | def set_content( method goto (line 8993) | def goto( method reload (line 9061) | def reload( method wait_for_load_state (line 9100) | def wait_for_load_state( method wait_for_url (line 9155) | def wait_for_url( method wait_for_event (line 9204) | def wait_for_event( method go_back (line 9244) | def go_back( method go_forward (line 9284) | def go_forward( method request_gc (line 9324) | def request_gc(self) -> None: method emulate_media (line 9346) | def emulate_media( method set_viewport_size (line 9421) | def set_viewport_size(self, viewport_size: ViewportSize) -> None: method bring_to_front (line 9449) | def bring_to_front(self) -> None: method add_init_script (line 9457) | def add_init_script( method route (line 9498) | def route( method unroute (line 9585) | def unroute( method route_web_socket (line 9616) | def route_web_socket( method unroute_all (line 9661) | def unroute_all( method route_from_har (line 9685) | def route_from_har( method screenshot (line 9742) | def screenshot( method title (line 9838) | def title(self) -> str: method close (line 9850) | def close( method is_closed (line 9881) | def is_closed(self) -> bool: method click (line 9893) | def click( method dblclick (line 9979) | def dblclick( method tap (line 10060) | def tap( method fill (line 10133) | def fill( method locator (line 10189) | def locator( method get_by_alt_text (line 10248) | def get_by_alt_text( method get_by_label (line 10285) | def get_by_label( method get_by_placeholder (line 10326) | def get_by_placeholder( method get_by_role (line 10367) | def get_by_role( method get_by_test_id (line 10568) | def get_by_test_id( method get_by_text (line 10606) | def get_by_text( method get_by_title (line 10670) | def get_by_title( method frame_locator (line 10709) | def frame_locator(self, selector: str) -> "FrameLocator": method focus (line 10737) | def focus( method text_content (line 10768) | def text_content( method inner_text (line 10804) | def inner_text( method inner_html (line 10840) | def inner_html( method get_attribute (line 10876) | def get_attribute( method hover (line 10915) | def hover( method drag_and_drop (line 10986) | def drag_and_drop( method select_option (line 11068) | def select_option( method input_value (line 11156) | def input_value( method set_input_files (line 11196) | def set_input_files( method type (line 11251) | def type( method press (line 11303) | def press( method check (line 11386) | def check( method uncheck (line 11450) | def uncheck( method wait_for_timeout (line 11514) | def wait_for_timeout(self, timeout: float) -> None: method wait_for_function (line 11539) | def wait_for_function( method pause (line 11609) | def pause(self) -> None: method pdf (line 11623) | def pdf( method expect_event (line 11759) | def expect_event( method expect_console_message (line 11800) | def expect_console_message( method expect_download (line 11831) | def expect_download( method expect_file_chooser (line 11862) | def expect_file_chooser( method expect_navigation (line 11893) | def expect_navigation( method expect_popup (line 11957) | def expect_popup( method expect_request (line 11988) | def expect_request( method expect_request_finished (line 12035) | def expect_request_finished( method expect_response (line 12066) | def expect_response( method expect_websocket (line 12115) | def expect_websocket( method expect_worker (line 12146) | def expect_worker( method set_checked (line 12177) | def set_checked( method add_locator_handler (line 12245) | def add_locator_handler( method remove_locator_handler (line 12370) | def remove_locator_handler(self, locator: "Locator") -> None: method requests (line 12385) | def requests(self) -> typing.List["Request"]: method console_messages (line 12404) | def console_messages(self) -> typing.List["ConsoleMessage"]: method page_errors (line 12416) | def page_errors(self) -> typing.List["Error"]: class WebError (line 12432) | class WebError(SyncBase): method page (line 12435) | def page(self) -> typing.Optional["Page"]: method error (line 12447) | def error(self) -> "Error": class BrowserContext (line 12462) | class BrowserContext(SyncContextManager): method on (line 12465) | def on( method on (line 12472) | def on( method on (line 12482) | def on( method on (line 12502) | def on( method on (line 12521) | def on(self, event: Literal["page"], f: typing.Callable[["Page"], "Non... method on (line 12544) | def on( method on (line 12552) | def on( method on (line 12563) | def on( method on (line 12575) | def on( method on (line 12584) | def on( method on (line 12593) | def on( method on (line 12601) | def on(self, event: str, f: typing.Callable[..., None]) -> None: method once (line 12605) | def once( method once (line 12612) | def once( method once (line 12622) | def once( method once (line 12642) | def once( method once (line 12661) | def once( method once (line 12686) | def once( method once (line 12694) | def once( method once (line 12705) | def once( method once (line 12717) | def once( method once (line 12726) | def once( method once (line 12735) | def once( method once (line 12743) | def once(self, event: str, f: typing.Callable[..., None]) -> None: method pages (line 12747) | def pages(self) -> typing.List["Page"]: method browser (line 12759) | def browser(self) -> typing.Optional["Browser"]: method background_pages (line 12772) | def background_pages(self) -> typing.List["Page"]: method service_workers (line 12784) | def service_workers(self) -> typing.List["Worker"]: method tracing (line 12798) | def tracing(self) -> "Tracing": method request (line 12808) | def request(self) -> "APIRequestContext": method clock (line 12820) | def clock(self) -> "Clock": method set_default_navigation_timeout (line 12831) | def set_default_navigation_timeout(self, timeout: float) -> None: method set_default_timeout (line 12855) | def set_default_timeout(self, timeout: float) -> None: method new_page (line 12874) | def new_page(self) -> "Page": method cookies (line 12886) | def cookies( method add_cookies (line 12908) | def add_cookies(self, cookies: typing.Sequence[SetCookieParam]) -> None: method clear_cookies (line 12929) | def clear_cookies( method grant_permissions (line 12966) | def grant_permissions( method clear_permissions (line 13012) | def clear_permissions(self) -> None: method set_geolocation (line 13029) | def set_geolocation(self, geolocation: typing.Optional[Geolocation] = ... method set_extra_http_headers (line 13052) | def set_extra_http_headers(self, headers: typing.Dict[str, str]) -> None: method set_offline (line 13074) | def set_offline(self, offline: bool) -> None: method add_init_script (line 13087) | def add_init_script( method expose_binding (line 13128) | def expose_binding( method expose_function (line 13194) | def expose_function(self, name: str, callback: typing.Callable) -> None: method route (line 13254) | def route( method unroute (line 13338) | def unroute( method route_web_socket (line 13370) | def route_web_socket( method unroute_all (line 13417) | def unroute_all( method route_from_har (line 13441) | def route_from_har( method expect_event (line 13498) | def expect_event( method close (line 13539) | def close(self, *, reason: typing.Optional[str] = None) -> None: method storage_state (line 13554) | def storage_state( method wait_for_event (line 13584) | def wait_for_event( method expect_console_message (line 13624) | def expect_console_message( method expect_page (line 13656) | def expect_page( method new_cdp_session (line 13687) | def new_cdp_session(self, page: typing.Union["Page", "Frame"]) -> "CDP... class CDPSession (line 13711) | class CDPSession(SyncBase): method send (line 13713) | def send( method detach (line 13736) | def detach(self) -> None: class Browser (line 13749) | class Browser(SyncContextManager): method on (line 13751) | def on( method once (line 13761) | def once( method contexts (line 13772) | def contexts(self) -> typing.List["BrowserContext"]: method browser_type (line 13793) | def browser_type(self) -> "BrowserType": method version (line 13805) | def version(self) -> str: method is_connected (line 13816) | def is_connected(self) -> bool: method new_context (line 13828) | def new_context( method new_page (line 14081) | def new_page( method close (line 14318) | def close(self, *, reason: typing.Optional[str] = None) -> None: method new_browser_cdp_session (line 14341) | def new_browser_cdp_session(self) -> "CDPSession": method start_tracing (line 14355) | def start_tracing( method stop_tracing (line 14404) | def stop_tracing(self) -> bytes: class BrowserType (line 14425) | class BrowserType(SyncBase): method name (line 14428) | def name(self) -> str: method executable_path (line 14440) | def executable_path(self) -> str: method launch (line 14451) | def launch( method launch_persistent_context (line 14588) | def launch_persistent_context( method connect_over_cdp (line 14917) | def connect_over_cdp( method connect (line 14980) | def connect( class Playwright (line 15043) | class Playwright(SyncBase): method devices (line 15046) | def devices(self) -> typing.Dict: method selectors (line 15075) | def selectors(self) -> "Selectors": method chromium (line 15088) | def chromium(self) -> "BrowserType": method firefox (line 15100) | def firefox(self) -> "BrowserType": method webkit (line 15112) | def webkit(self) -> "BrowserType": method request (line 15124) | def request(self) -> "APIRequest": method __getitem__ (line 15135) | def __getitem__(self, value: str) -> "BrowserType": method stop (line 15139) | def stop(self) -> None: class Tracing (line 15166) | class Tracing(SyncBase): method start (line 15168) | def start( method start_chunk (line 15229) | def start_chunk( method stop_chunk (line 15270) | def stop_chunk( method stop (line 15285) | def stop( method group (line 15300) | def group( method group_end (line 15334) | def group_end(self) -> None: class Locator (line 15346) | class Locator(SyncBase): method page (line 15349) | def page(self) -> "Page": method first (line 15361) | def first(self) -> "Locator": method last (line 15373) | def last(self) -> "Locator": method content_frame (line 15391) | def content_frame(self) -> "FrameLocator": method description (line 15417) | def description(self) -> typing.Optional[str]: method bounding_box (line 15439) | def bounding_box( method check (line 15482) | def check( method click (line 15546) | def click( method dblclick (line 15647) | def dblclick( method dispatch_event (line 15727) | def dispatch_event( method evaluate (line 15791) | def evaluate( method evaluate_all (line 15844) | def evaluate_all( method evaluate_handle (line 15888) | def evaluate_handle( method fill (line 15938) | def fill( method clear (line 15990) | def clear( method locator (line 16037) | def locator( method get_by_alt_text (line 16095) | def get_by_alt_text( method get_by_label (line 16132) | def get_by_label( method get_by_placeholder (line 16173) | def get_by_placeholder( method get_by_role (line 16214) | def get_by_role( method get_by_test_id (line 16415) | def get_by_test_id( method get_by_text (line 16453) | def get_by_text( method get_by_title (line 16517) | def get_by_title( method frame_locator (line 16556) | def frame_locator(self, selector: str) -> "FrameLocator": method element_handle (line 16581) | def element_handle( method element_handles (line 16604) | def element_handles(self) -> typing.List["ElementHandle"]: method nth (line 16616) | def nth(self, index: int) -> "Locator": method describe (line 16638) | def describe(self, description: str) -> "Locator": method filter (line 16663) | def filter( method or_ (line 16729) | def or_(self, locator: "Locator") -> "Locator": method and_ (line 16767) | def and_(self, locator: "Locator") -> "Locator": method focus (line 16792) | def focus(self, *, timeout: typing.Optional[float] = None) -> None: method blur (line 16808) | def blur(self, *, timeout: typing.Optional[float] = None) -> None: method all (line 16822) | def all(self) -> typing.List["Locator"]: method count (line 16851) | def count(self) -> int: method drag_to (line 16872) | def drag_to( method get_attribute (line 16949) | def get_attribute( method hover (line 16976) | def hover( method inner_html (line 17047) | def inner_html(self, *, timeout: typing.Optional[float] = None) -> str: method inner_text (line 17067) | def inner_text(self, *, timeout: typing.Optional[float] = None) -> str: method input_value (line 17090) | def input_value(self, *, timeout: typing.Optional[float] = None) -> str: method is_checked (line 17126) | def is_checked(self, *, timeout: typing.Optional[float] = None) -> bool: method is_disabled (line 17155) | def is_disabled(self, *, timeout: typing.Optional[float] = None) -> bool: method is_editable (line 17184) | def is_editable(self, *, timeout: typing.Optional[float] = None) -> bool: method is_enabled (line 17215) | def is_enabled(self, *, timeout: typing.Optional[float] = None) -> bool: method is_hidden (line 17244) | def is_hidden(self, *, timeout: typing.Optional[float] = None) -> bool: method is_visible (line 17272) | def is_visible(self, *, timeout: typing.Optional[float] = None) -> bool: method press (line 17300) | def press( method screenshot (line 17366) | def screenshot( method aria_snapshot (line 17476) | def aria_snapshot(self, *, timeout: typing.Optional[float] = None) -> ... method scroll_into_view_if_needed (line 17531) | def scroll_into_view_if_needed( method select_option (line 17553) | def select_option( method select_text (line 17643) | def select_text( method set_input_files (line 17671) | def set_input_files( method tap (line 17743) | def tap( method text_content (line 17811) | def text_content( method type (line 17836) | def type( method press_sequentially (line 17875) | def press_sequentially( method uncheck (line 17930) | def uncheck( method all_inner_texts (line 17994) | def all_inner_texts(self) -> typing.List[str]: method all_text_contents (line 18015) | def all_text_contents(self) -> typing.List[str]: method wait_for (line 18036) | def wait_for( method set_checked (line 18077) | def set_checked( method highlight (line 18144) | def highlight(self) -> None: class APIResponse (line 18157) | class APIResponse(SyncBase): method ok (line 18160) | def ok(self) -> bool: method url (line 18172) | def url(self) -> str: method status (line 18184) | def status(self) -> int: method status_text (line 18196) | def status_text(self) -> str: method headers (line 18208) | def headers(self) -> typing.Dict[str, str]: method headers_array (line 18220) | def headers_array(self) -> typing.List[NameValue]: method body (line 18232) | def body(self) -> bytes: method text (line 18244) | def text(self) -> str: method json (line 18256) | def json(self) -> typing.Any: method dispose (line 18270) | def dispose(self) -> None: class APIRequestContext (line 18282) | class APIRequestContext(SyncBase): method dispose (line 18284) | def dispose(self, *, reason: typing.Optional[str] = None) -> None: method delete (line 18301) | def delete( method head (line 18384) | def head( method get (line 18467) | def get( method patch (line 18562) | def patch( method put (line 18645) | def put( method post (line 18728) | def post( method fetch (line 18842) | def fetch( method storage_state (line 18948) | def storage_state( class APIRequest (line 18980) | class APIRequest(SyncBase): method new_context (line 18982) | def new_context( class PageAssertions (line 19085) | class PageAssertions(SyncBase): method to_have_title (line 19087) | def to_have_title( method not_to_have_title (line 19124) | def not_to_have_title( method to_have_url (line 19151) | def to_have_url( method not_to_have_url (line 19192) | def not_to_have_url( class LocatorAssertions (line 19227) | class LocatorAssertions(SyncBase): method to_contain_text (line 19229) | def to_contain_text( method not_to_contain_text (line 19323) | def not_to_contain_text( method to_have_attribute (line 19366) | def to_have_attribute( method not_to_have_attribute (line 19409) | def not_to_have_attribute( method to_have_class (line 19443) | def to_have_class( method not_to_have_class (line 19502) | def not_to_have_class( method to_contain_class (line 19535) | def to_contain_class( method not_to_contain_class (line 19598) | def not_to_contain_class( method to_have_count (line 19625) | def to_have_count( method not_to_have_count (line 19654) | def not_to_have_count( method to_have_css (line 19674) | def to_have_css( method not_to_have_css (line 19711) | def not_to_have_css( method to_have_id (line 19739) | def to_have_id( method not_to_have_id (line 19771) | def not_to_have_id( method to_have_js_property (line 19794) | def to_have_js_property( method not_to_have_js_property (line 19830) | def not_to_have_js_property( method to_have_value (line 19856) | def to_have_value( method not_to_have_value (line 19890) | def not_to_have_value( method to_have_values (line 19913) | def to_have_values( method not_to_have_values (line 19966) | def not_to_have_values( method to_have_text (line 19997) | def to_have_text( method not_to_have_text (line 20090) | def not_to_have_text( method to_be_attached (line 20133) | def to_be_attached( method to_be_checked (line 20164) | def to_be_checked( method not_to_be_attached (line 20205) | def not_to_be_attached( method not_to_be_checked (line 20229) | def not_to_be_checked(self, *, timeout: typing.Optional[float] = None)... method to_be_disabled (line 20245) | def to_be_disabled(self, *, timeout: typing.Optional[float] = None) ->... method not_to_be_disabled (line 20274) | def not_to_be_disabled(self, *, timeout: typing.Optional[float] = None... method to_be_editable (line 20290) | def to_be_editable( method not_to_be_editable (line 20323) | def not_to_be_editable( method to_be_empty (line 20347) | def to_be_empty(self, *, timeout: typing.Optional[float] = None) -> None: method not_to_be_empty (line 20372) | def not_to_be_empty(self, *, timeout: typing.Optional[float] = None) -... method to_be_enabled (line 20388) | def to_be_enabled( method not_to_be_enabled (line 20419) | def not_to_be_enabled( method to_be_hidden (line 20443) | def to_be_hidden(self, *, timeout: typing.Optional[float] = None) -> N... method not_to_be_hidden (line 20469) | def not_to_be_hidden(self, *, timeout: typing.Optional[float] = None) ... method to_be_visible (line 20485) | def to_be_visible( method not_to_be_visible (line 20526) | def not_to_be_visible( method to_be_focused (line 20550) | def to_be_focused(self, *, timeout: typing.Optional[float] = None) -> ... method not_to_be_focused (line 20575) | def not_to_be_focused(self, *, timeout: typing.Optional[float] = None)... method to_be_in_viewport (line 20591) | def to_be_in_viewport( method not_to_be_in_viewport (line 20630) | def not_to_be_in_viewport( method to_have_accessible_description (line 20654) | def to_have_accessible_description( method not_to_have_accessible_description (line 20693) | def not_to_have_accessible_description( method to_have_accessible_name (line 20724) | def to_have_accessible_name( method not_to_have_accessible_name (line 20763) | def not_to_have_accessible_name( method to_have_role (line 20794) | def to_have_role( method to_have_accessible_error_message (line 20910) | def to_have_accessible_error_message( method not_to_have_accessible_error_message (line 20949) | def not_to_have_accessible_error_message( method not_to_have_role (line 20980) | def not_to_have_role( method to_match_aria_snapshot (line 21086) | def to_match_aria_snapshot( method not_to_match_aria_snapshot (line 21119) | def not_to_match_aria_snapshot( class APIResponseAssertions (line 21146) | class APIResponseAssertions(SyncBase): method to_be_ok (line 21148) | def to_be_ok(self) -> None: method not_to_be_ok (line 21167) | def not_to_be_ok(self) -> None: FILE: scripts/documentation_provider.py class DocumentationProvider (line 29) | class DocumentationProvider: method __init__ (line 30) | def __init__(self, is_async: bool) -> None: method _patch_case (line 44) | def _patch_case(self) -> None: method _add_link (line 92) | def _add_link(self, kind: str, clazz: str, member: str, alias: str) ->... method print_entry (line 108) | def print_entry( method print_events (line 204) | def print_events(self, class_name: str) -> None: method indent_paragraph (line 240) | def indent_paragraph(self, p: str, indent: str) -> str: method beautify_method_comment (line 247) | def beautify_method_comment(self, comment: str, indent: str) -> str: method filter_out_redudant_python_code_snippets (line 279) | def filter_out_redudant_python_code_snippets(self, comment: str) -> str: method resolve_playwright_dev_links (line 310) | def resolve_playwright_dev_links(self, comment: str) -> str: method render_links (line 323) | def render_links(self, comment: str) -> str: method make_optional (line 328) | def make_optional(self, text: str) -> str: method compare_types (line 335) | def compare_types( method serialize_python_type (line 350) | def serialize_python_type(self, value: Any, direction: str) -> str: method serialize_doc_type (line 434) | def serialize_doc_type(self, type: Any, direction: str) -> str: method inner_serialize_doc_type (line 438) | def inner_serialize_doc_type(self, type: Any, direction: str) -> str: method print_remainder (line 515) | def print_remainder(self) -> None: function works_for_python (line 542) | def works_for_python(item: Any) -> bool: function name_or_alias (line 546) | def name_or_alias(item: Any) -> str: function self_or_override (line 555) | def self_or_override(item: Any) -> Any: function apply_type_or_override (line 564) | def apply_type_or_override(member: Any) -> Any: FILE: scripts/example_async.py function main (line 20) | async def main() -> None: FILE: scripts/example_sync.py function main (line 18) | def main() -> None: FILE: scripts/generate_api.py function process_type (line 57) | def process_type(value: Any, param: bool = False) -> str: function is_positional_exception (line 101) | def is_positional_exception(key: str) -> bool: function signature (line 108) | def signature(func: FunctionType, indent: int) -> str: function arguments (line 135) | def arguments(func: FunctionType, indent: int) -> str: function return_type (line 172) | def return_type(func: FunctionType) -> str: function short_name (line 177) | def short_name(t: Any) -> str: function return_value (line 184) | def return_value(value: Any) -> List[str]: function get_type_hints (line 303) | def get_type_hints(func: Any, globalns: Any) -> Dict[str, Any]: function _get_defaults (line 313) | def _get_defaults(func: Any) -> Dict[str, Any]: FILE: scripts/generate_async_api.py function generate (line 38) | def generate(t: Any) -> None: function main (line 128) | def main() -> None: FILE: scripts/generate_sync_api.py function generate (line 39) | def generate(t: Any) -> None: function main (line 127) | def main() -> None: FILE: scripts/update_versions.py function main (line 20) | def main() -> None: FILE: setup.py function extractall (line 91) | def extractall(zip: zipfile.ZipFile, path: str) -> None: function download_driver (line 100) | def download_driver(zip_name: str) -> None: class PlaywrightBDistWheelCommand (line 120) | class PlaywrightBDistWheelCommand(BDistWheelCommand): method run (line 121) | def run(self) -> None: method _build_wheel (line 147) | def _build_wheel( method _download_and_extract_local_driver (line 184) | def _download_and_extract_local_driver( FILE: tests/assets/client.py function main (line 21) | def main(playwright: Playwright, browser_name: str) -> None: FILE: tests/assets/input/mouse-helper.js function updateButtons (line 58) | function updateButtons(buttons) { FILE: tests/assets/networkidle.js function main (line 1) | async function main() { FILE: tests/assets/sectionselectorengine.js method create (line 2) | create(root, target) { method query (line 4) | query(root, selector) { method queryAll (line 7) | queryAll(root, selector) { FILE: tests/assets/worker/worker.js function workerFunction (line 3) | function workerFunction() { FILE: tests/async/conftest.py function utils (line 41) | def utils() -> Generator[Utils, None, None]: function playwright (line 46) | async def playwright() -> AsyncGenerator[Playwright, None]: function browser_type (line 52) | def browser_type(playwright: Playwright, browser_name: str) -> BrowserType: function browser_factory (line 63) | async def browser_factory( function browser (line 79) | async def browser( function browser_version (line 88) | def browser_version(browser: Browser) -> str: function context_factory (line 93) | async def context_factory( function default_same_site_cookie_value (line 109) | def default_same_site_cookie_value(browser_name: str, is_linux: bool) ->... function context (line 122) | async def context( function page (line 131) | async def page(context: BrowserContext) -> AsyncGenerator[Page, None]: function selectors (line 138) | def selectors(playwright: Playwright) -> Selectors: class TraceViewerPage (line 142) | class TraceViewerPage: method __init__ (line 143) | def __init__(self, page: Page): method actions_tree (line 147) | def actions_tree(self) -> Locator: method action_titles (line 151) | def action_titles(self) -> Locator: method stack_frames (line 155) | def stack_frames(self) -> Locator: method select_action (line 158) | async def select_action(self, title: str, ordinal: int = 0) -> None: method select_snapshot (line 161) | async def select_snapshot(self, name: str) -> None: method snapshot_frame (line 166) | async def snapshot_frame( method show_source_tab (line 175) | async def show_source_tab(self) -> None: method expand_action (line 178) | async def expand_action(self, title: str, ordinal: int = 0) -> None: function show_trace_viewer (line 185) | async def show_trace_viewer(browser: Browser) -> AsyncGenerator[Callable... FILE: tests/async/test_add_init_script.py function test_add_init_script_evaluate_before_anything_else_on_the_page (line 21) | async def test_add_init_script_evaluate_before_anything_else_on_the_page( function test_add_init_script_work_with_a_path (line 29) | async def test_add_init_script_work_with_a_path(page: Page, assetdir: Pa... function test_add_init_script_work_with_content (line 35) | async def test_add_init_script_work_with_content(page: Page) -> None: function test_add_init_script_throw_without_path_and_content (line 41) | async def test_add_init_script_throw_without_path_and_content(page: Page... function test_add_init_script_work_with_browser_context_scripts (line 51) | async def test_add_init_script_work_with_browser_context_scripts( function test_add_init_script_work_with_browser_context_scripts_with_a_path (line 61) | async def test_add_init_script_work_with_browser_context_scripts_with_a_... function test_add_init_script_work_with_browser_context_scripts_for_already_created_pages (line 70) | async def test_add_init_script_work_with_browser_context_scripts_for_alr... function test_add_init_script_support_multiple_scripts (line 79) | async def test_add_init_script_support_multiple_scripts(page: Page) -> N... function test_should_work_with_trailing_comments (line 87) | async def test_should_work_with_trailing_comments(page: Page) -> None: FILE: tests/async/test_assertions.py function test_assertions_page_to_have_title (line 25) | async def test_assertions_page_to_have_title(page: Page, server: Server)... function test_assertions_page_to_have_url (line 52) | async def test_assertions_page_to_have_url(page: Page, server: Server) -... function test_assertions_page_to_have_url_with_base_url (line 77) | async def test_assertions_page_to_have_url_with_base_url( function test_assertions_page_to_have_url_support_ignore_case (line 87) | async def test_assertions_page_to_have_url_support_ignore_case(page: Pag... function test_assertions_locator_to_contain_text (line 92) | async def test_assertions_locator_to_contain_text(page: Page, server: Se... function test_assertions_locator_to_contain_text_should_throw_if_arg_is_unsupported_type (line 104) | async def test_assertions_locator_to_contain_text_should_throw_if_arg_is... function test_assertions_locator_to_have_attribute (line 111) | async def test_assertions_locator_to_have_attribute(page: Page, server: ... function test_assertions_locator_to_have_attribute_ignore_case (line 127) | async def test_assertions_locator_to_have_attribute_ignore_case( function test_assertions_locator_to_have_class (line 136) | async def test_assertions_locator_to_have_class(page: Page, server: Serv... function test_assertions_locator_to_contain_class (line 148) | async def test_assertions_locator_to_contain_class(page: Page, server: S... function test_assertions_locator_to_have_count (line 174) | async def test_assertions_locator_to_have_count(page: Page, server: Serv... function test_assertions_locator_to_have_css (line 183) | async def test_assertions_locator_to_have_css(page: Page, server: Server... function test_assertions_locator_to_have_id (line 198) | async def test_assertions_locator_to_have_id(page: Page, server: Server)... function test_assertions_locator_to_have_js_property (line 207) | async def test_assertions_locator_to_have_js_property( function test_to_have_js_property_pass_string (line 225) | async def test_to_have_js_property_pass_string(page: Page) -> None: function test_to_have_js_property_fail_string (line 232) | async def test_to_have_js_property_fail_string(page: Page) -> None: function test_to_have_js_property_pass_number (line 240) | async def test_to_have_js_property_pass_number(page: Page) -> None: function test_to_have_js_property_fail_number (line 247) | async def test_to_have_js_property_fail_number(page: Page) -> None: function test_to_have_js_property_pass_boolean (line 255) | async def test_to_have_js_property_pass_boolean(page: Page) -> None: function test_to_have_js_property_fail_boolean (line 262) | async def test_to_have_js_property_fail_boolean(page: Page) -> None: function test_to_have_js_property_pass_boolean_2 (line 270) | async def test_to_have_js_property_pass_boolean_2(page: Page) -> None: function test_to_have_js_property_fail_boolean_2 (line 277) | async def test_to_have_js_property_fail_boolean_2(page: Page) -> None: function test_to_have_js_property_pass_null (line 285) | async def test_to_have_js_property_pass_null(page: Page) -> None: function test_assertions_locator_to_have_text (line 292) | async def test_assertions_locator_to_have_text(page: Page, server: Serve... function test_ignore_case (line 313) | async def test_ignore_case(page: Page, server: Server, method: str) -> N... function test_ignore_case_regex (line 353) | async def test_ignore_case_regex(page: Page, server: Server, method: str... function test_assertions_locator_to_have_value (line 412) | async def test_assertions_locator_to_have_value(page: Page, server: Serv... function test_to_have_values_works_with_text (line 422) | async def test_to_have_values_works_with_text(page: Page, server: Server... function test_to_have_values_follows_labels (line 437) | async def test_to_have_values_follows_labels(page: Page, server: Server)... function test_to_have_values_exact_match_with_text (line 453) | async def test_to_have_values_exact_match_with_text(page: Page, server: ... function test_to_have_values_works_with_regex (line 470) | async def test_to_have_values_works_with_regex(page: Page, server: Serve... function test_to_have_values_fails_when_items_not_selected (line 485) | async def test_to_have_values_fails_when_items_not_selected( function test_to_have_values_fails_when_multiple_not_specified (line 505) | async def test_to_have_values_fails_when_multiple_not_specified( function test_to_have_values_fails_when_not_a_select_element (line 524) | async def test_to_have_values_fails_when_not_a_select_element( function test_assertions_locator_to_be_checked (line 538) | async def test_assertions_locator_to_be_checked(page: Page, server: Serv... function test_assertions_boolean_checked_with_intermediate_true (line 555) | async def test_assertions_boolean_checked_with_intermediate_true(page: P... function test_assertions_boolean_checked_with_intermediate_true_and_checked (line 561) | async def test_assertions_boolean_checked_with_intermediate_true_and_che... function test_assertions_boolean_fail_with_indeterminate_true (line 574) | async def test_assertions_boolean_fail_with_indeterminate_true(page: Pag... function test_assertions_locator_to_be_disabled_enabled (line 584) | async def test_assertions_locator_to_be_disabled_enabled( function test_assertions_locator_to_be_enabled_with_true (line 600) | async def test_assertions_locator_to_be_enabled_with_true(page: Page) ->... function test_assertions_locator_to_be_enabled_with_false_throws_good_exception (line 605) | async def test_assertions_locator_to_be_enabled_with_false_throws_good_e... function test_assertions_locator_to_be_enabled_with_false (line 613) | async def test_assertions_locator_to_be_enabled_with_false(page: Page) -... function test_assertions_locator_to_be_enabled_with_not_and_false (line 618) | async def test_assertions_locator_to_be_enabled_with_not_and_false(page:... function test_assertions_locator_to_be_enabled_eventually (line 623) | async def test_assertions_locator_to_be_enabled_eventually(page: Page) -... function test_assertions_locator_to_be_enabled_eventually_with_not (line 636) | async def test_assertions_locator_to_be_enabled_eventually_with_not(page... function test_assertions_locator_to_be_editable (line 649) | async def test_assertions_locator_to_be_editable(page: Page, server: Ser... function test_assertions_locator_to_be_editable_throws (line 655) | async def test_assertions_locator_to_be_editable_throws( function test_assertions_locator_to_be_editable_with_true (line 667) | async def test_assertions_locator_to_be_editable_with_true(page: Page) -... function test_assertions_locator_to_be_editable_with_false (line 672) | async def test_assertions_locator_to_be_editable_with_false(page: Page) ... function test_assertions_locator_to_be_editable_with_false_and_throw_good_exception (line 677) | async def test_assertions_locator_to_be_editable_with_false_and_throw_go... function test_assertions_locator_to_be_editable_with_not_and_false (line 685) | async def test_assertions_locator_to_be_editable_with_not_and_false(page... function test_assertions_locator_to_be_empty (line 690) | async def test_assertions_locator_to_be_empty(page: Page, server: Server... function test_assertions_locator_to_be_focused (line 701) | async def test_assertions_locator_to_be_focused(page: Page, server: Serv... function test_assertions_locator_to_be_hidden_visible (line 711) | async def test_assertions_locator_to_be_hidden_visible( function test_assertions_locator_to_be_visible_with_true (line 726) | async def test_assertions_locator_to_be_visible_with_true(page: Page) ->... function test_assertions_locator_to_be_visible_with_false (line 731) | async def test_assertions_locator_to_be_visible_with_false(page: Page) -... function test_assertions_locator_to_be_visible_with_false_throws_good_exception (line 736) | async def test_assertions_locator_to_be_visible_with_false_throws_good_e... function test_assertions_locator_to_be_visible_with_not_and_false (line 744) | async def test_assertions_locator_to_be_visible_with_not_and_false(page:... function test_assertions_locator_to_be_visible_eventually (line 749) | async def test_assertions_locator_to_be_visible_eventually(page: Page) -... function test_assertions_locator_to_be_visible_eventually_with_not (line 762) | async def test_assertions_locator_to_be_visible_eventually_with_not(page... function test_assertions_should_serialize_regexp_correctly (line 775) | async def test_assertions_should_serialize_regexp_correctly( function test_assertions_response_is_ok_pass (line 799) | async def test_assertions_response_is_ok_pass(page: Page, server: Server... function test_assertions_response_is_ok_pass_with_not (line 804) | async def test_assertions_response_is_ok_pass_with_not( function test_assertions_response_is_ok_fail (line 811) | async def test_assertions_response_is_ok_fail(page: Page, server: Server... function test_should_print_response_with_text_content_type_if_to_be_ok_fails (line 820) | async def test_should_print_response_with_text_content_type_if_to_be_ok_... function test_should_print_users_message_for_page_based_assertion (line 878) | async def test_should_print_users_message_for_page_based_assertion( function test_should_print_expected_value_with_custom_message (line 891) | async def test_should_print_expected_value_with_custom_message( function test_should_be_attached_default (line 908) | async def test_should_be_attached_default(page: Page) -> None: function test_should_be_attached_with_hidden_element (line 914) | async def test_should_be_attached_with_hidden_element(page: Page) -> None: function test_should_be_attached_with_not (line 920) | async def test_should_be_attached_with_not(page: Page) -> None: function test_should_be_attached_with_attached_true (line 926) | async def test_should_be_attached_with_attached_true(page: Page) -> None: function test_should_be_attached_with_attached_false (line 932) | async def test_should_be_attached_with_attached_false(page: Page) -> None: function test_should_be_attached_with_attached_false_and_throw_good_error (line 938) | async def test_should_be_attached_with_attached_false_and_throw_good_error( function test_should_be_attached_with_not_and_attached_false (line 947) | async def test_should_be_attached_with_not_and_attached_false(page: Page... function test_should_be_attached_eventually (line 953) | async def test_should_be_attached_eventually(page: Page) -> None: function test_should_be_attached_eventually_with_not (line 962) | async def test_should_be_attached_eventually_with_not(page: Page) -> None: function test_should_be_attached_fail (line 971) | async def test_should_be_attached_fail(page: Page) -> None: function test_should_be_attached_fail_with_not (line 981) | async def test_should_be_attached_fail_with_not(page: Page) -> None: function test_should_be_attached_with_impossible_timeout (line 989) | async def test_should_be_attached_with_impossible_timeout(page: Page) ->... function test_should_be_attached_with_impossible_timeout_not (line 994) | async def test_should_be_attached_with_impossible_timeout_not(page: Page... function test_should_be_attached_with_frame_locator (line 999) | async def test_should_be_attached_with_frame_locator(page: Page) -> None: function test_should_be_attached_over_navigation (line 1010) | async def test_should_be_attached_over_navigation(page: Page, server: Se... function test_should_be_able_to_set_custom_timeout (line 1020) | async def test_should_be_able_to_set_custom_timeout(page: Page) -> None: function test_should_be_able_to_set_custom_global_timeout (line 1026) | async def test_should_be_able_to_set_custom_global_timeout(page: Page) -... function test_to_have_accessible_name (line 1036) | async def test_to_have_accessible_name(page: Page) -> None: function test_to_have_accessible_error_message (line 1052) | async def test_to_have_accessible_error_message(page: Page) -> None: function test_to_have_accessible_error_message_should_handle_multiple_aria_error_message_references (line 1077) | async def test_to_have_accessible_error_message_should_handle_multiple_a... function test_to_have_accessible_description (line 1107) | async def test_to_have_accessible_description(page: Page) -> None: function test_to_have_role (line 1128) | async def test_to_have_role(page: Page) -> None: FILE: tests/async/test_asyncio.py function test_should_cancel_underlying_protocol_calls (line 26) | async def test_should_cancel_underlying_protocol_calls( function test_async_playwright_stop_multiple_times (line 56) | async def test_async_playwright_stop_multiple_times() -> None: function test_cancel_pending_protocol_call_on_playwright_stop (line 62) | async def test_cancel_pending_protocol_call_on_playwright_stop(server: S... function test_should_not_throw_with_taskgroup (line 73) | async def test_should_not_throw_with_taskgroup(page: Page) -> None: function test_should_return_proper_api_name_on_error (line 92) | async def test_should_return_proper_api_name_on_error(page: Page) -> None: FILE: tests/async/test_browser.py function test_should_create_new_page (line 22) | async def test_should_create_new_page(browser: Browser) -> None: function test_should_throw_upon_second_create_new_page (line 36) | async def test_should_throw_upon_second_create_new_page(browser: Browser... function test_version_should_work (line 44) | async def test_version_should_work(browser: Browser, is_chromium: bool) ... function test_should_return_browser_type (line 52) | async def test_should_return_browser_type( FILE: tests/async/test_browsercontext.py function fails_on_401 (line 36) | def fails_on_401(browser_name: str, is_headless_shell: bool) -> bool: function test_page_event_should_create_new_context (line 40) | async def test_page_event_should_create_new_context(browser: Browser) ->... function test_window_open_should_use_parent_tab_context (line 50) | async def test_window_open_should_use_parent_tab_context( function test_page_event_should_isolate_localStorage_and_cookies (line 63) | async def test_page_event_should_isolate_localStorage_and_cookies( function test_page_event_should_propagate_default_viewport_to_the_page (line 111) | async def test_page_event_should_propagate_default_viewport_to_the_page( function test_page_event_should_respect_device_scale_factor (line 120) | async def test_page_event_should_respect_device_scale_factor(browser: Br... function test_page_event_should_not_allow_device_scale_factor_with_null_viewport (line 127) | async def test_page_event_should_not_allow_device_scale_factor_with_null... function test_page_event_should_not_allow_is_mobile_with_null_viewport (line 138) | async def test_page_event_should_not_allow_is_mobile_with_null_viewport( function test_close_should_work_for_empty_context (line 149) | async def test_close_should_work_for_empty_context(browser: Browser) -> ... function test_close_should_abort_wait_for_event (line 154) | async def test_close_should_abort_wait_for_event(browser: Browser) -> None: function test_close_should_be_callable_twice (line 162) | async def test_close_should_be_callable_twice(browser: Browser) -> None: function test_user_agent_should_work (line 171) | async def test_user_agent_should_work(browser: Browser, server: Server) ... function test_user_agent_should_work_for_subframes (line 193) | async def test_user_agent_should_work_for_subframes( function test_user_agent_should_emulate_device_user_agent (line 206) | async def test_user_agent_should_emulate_device_user_agent( function test_user_agent_should_make_a_copy_of_default_options (line 218) | async def test_user_agent_should_make_a_copy_of_default_options( function test_page_event_should_bypass_csp_meta_tag (line 233) | async def test_page_event_should_bypass_csp_meta_tag( function test_page_event_should_bypass_csp_header (line 261) | async def test_page_event_should_bypass_csp_header( function test_page_event_should_bypass_after_cross_process_navigation (line 292) | async def test_page_event_should_bypass_after_cross_process_navigation( function test_page_event_should_bypass_csp_in_iframes_as_well (line 307) | async def test_page_event_should_bypass_csp_in_iframes_as_well( function test_csp_should_work (line 341) | async def test_csp_should_work(browser: Browser, is_webkit: bool) -> None: function test_csp_should_be_able_to_navigate_after_disabling_javascript (line 366) | async def test_csp_should_be_able_to_navigate_after_disabling_javascript( function test_pages_should_return_all_of_the_pages (line 375) | async def test_pages_should_return_all_of_the_pages( function test_pages_should_close_all_belonging_pages_once_closing_context (line 386) | async def test_pages_should_close_all_belonging_pages_once_closing_context( function test_expose_binding_should_work (line 395) | async def test_expose_binding_should_work(context: BrowserContext) -> None: function test_expose_function_should_work (line 412) | async def test_expose_function_should_work(context: BrowserContext) -> N... function test_expose_function_should_throw_for_duplicate_registrations (line 426) | async def test_expose_function_should_throw_for_duplicate_registrations( function test_expose_function_should_be_callable_from_inside_add_init_script (line 450) | async def test_expose_function_should_be_callable_from_inside_add_init_s... function test_expose_bindinghandle_should_work (line 465) | async def test_expose_bindinghandle_should_work(context: BrowserContext)... function test_auth_should_fail_without_credentials (line 479) | async def test_auth_should_fail_without_credentials( function test_auth_should_work_with_correct_credentials (line 493) | async def test_auth_should_work_with_correct_credentials( function test_auth_should_fail_with_wrong_credentials (line 507) | async def test_auth_should_fail_with_wrong_credentials( function test_auth_should_return_resource_body (line 521) | async def test_auth_should_return_resource_body( function test_should_work_with_correct_credentials_and_matching_origin (line 537) | async def test_should_work_with_correct_credentials_and_matching_origin( function test_should_work_with_correct_credentials_and_matching_origin_case_insensitive (line 555) | async def test_should_work_with_correct_credentials_and_matching_origin_... function test_should_fail_with_correct_credentials_and_mismatching_scheme (line 573) | async def test_should_fail_with_correct_credentials_and_mismatching_scheme( function test_should_fail_with_correct_credentials_and_mismatching_hostname (line 595) | async def test_should_fail_with_correct_credentials_and_mismatching_host... function test_should_fail_with_correct_credentials_and_mismatching_port (line 616) | async def test_should_fail_with_correct_credentials_and_mismatching_port( function test_offline_should_work_with_initial_option (line 635) | async def test_offline_should_work_with_initial_option( function test_offline_should_emulate_navigator_online (line 655) | async def test_offline_should_emulate_navigator_online( function test_page_event_should_have_url (line 666) | async def test_page_event_should_have_url( function test_page_event_should_have_url_after_domcontentloaded (line 676) | async def test_page_event_should_have_url_after_domcontentloaded( function test_page_event_should_have_about_blank_url_with_domcontentloaded (line 687) | async def test_page_event_should_have_about_blank_url_with_domcontentloa... function test_page_event_should_have_about_blank_for_empty_url_with_domcontentloaded (line 698) | async def test_page_event_should_have_about_blank_for_empty_url_with_dom... function test_page_event_should_report_when_a_new_page_is_created_and_closed (line 709) | async def test_page_event_should_report_when_a_new_page_is_created_and_c... function test_page_event_should_report_initialized_pages (line 738) | async def test_page_event_should_report_initialized_pages( function test_page_event_should_have_an_opener (line 752) | async def test_page_event_should_have_an_opener( function test_page_event_should_fire_page_lifecycle_events (line 765) | async def test_page_event_should_fire_page_lifecycle_events( function test_page_event_should_work_with_shift_clicking (line 783) | async def test_page_event_should_work_with_shift_clicking( function test_page_event_should_work_with_ctrl_clicking (line 797) | async def test_page_event_should_work_with_ctrl_clicking( function test_strict_selectors_on_context (line 811) | async def test_strict_selectors_on_context(browser: Browser, server: Ser... function test_should_support_forced_colors (line 828) | async def test_should_support_forced_colors(browser: Browser) -> None: FILE: tests/async/test_browsercontext_add_cookies.py function test_should_work (line 26) | async def test_should_work(context: BrowserContext, page: Page, server: ... function test_should_roundtrip_cookie (line 34) | async def test_should_roundtrip_cookie( function test_should_send_cookie_header (line 57) | async def test_should_send_cookie_header( function test_should_isolate_cookies_in_browser_contexts (line 75) | async def test_should_isolate_cookies_in_browser_contexts( function test_should_isolate_session_cookies (line 97) | async def test_should_isolate_session_cookies( function test_should_isolate_persistent_cookies (line 125) | async def test_should_isolate_persistent_cookies( function test_should_isolate_send_cookie_header (line 153) | async def test_should_isolate_send_cookie_header( function test_should_isolate_cookies_between_launches (line 180) | async def test_should_isolate_cookies_between_launches( function test_should_set_multiple_cookies (line 204) | async def test_should_set_multiple_cookies( function test_should_have_expires_set_to_neg_1_for_session_cookies (line 225) | async def test_should_have_expires_set_to_neg_1_for_session_cookies( function test_should_set_cookie_with_reasonable_defaults (line 235) | async def test_should_set_cookie_with_reasonable_defaults( function test_should_set_a_cookie_with_a_path (line 259) | async def test_should_set_a_cookie_with_a_path( function test_should_not_set_a_cookie_with_blank_page_url (line 295) | async def test_should_not_set_a_cookie_with_blank_page_url( function test_should_not_set_a_cookie_on_a_data_url_page (line 311) | async def test_should_not_set_a_cookie_on_a_data_url_page( function test_should_default_to_setting_secure_cookie_for_https_websites (line 329) | async def test_should_default_to_setting_secure_cookie_for_https_websites( function test_should_be_able_to_set_unsecure_cookie_for_http_website (line 339) | async def test_should_be_able_to_set_unsecure_cookie_for_http_website( function test_should_set_a_cookie_on_a_different_domain (line 349) | async def test_should_set_a_cookie_on_a_different_domain( function test_should_set_cookies_for_a_frame (line 374) | async def test_should_set_cookies_for_a_frame( function test_should_not_block_third_party_cookies (line 397) | async def test_should_not_block_third_party_cookies( FILE: tests/async/test_browsercontext_clearcookies.py function test_should_clear_cookies (line 22) | async def test_should_clear_cookies( function test_should_isolate_cookies_when_clearing (line 36) | async def test_should_isolate_cookies_when_clearing( function test_should_remove_cookies_by_name (line 60) | async def test_should_remove_cookies_by_name( function test_should_remove_cookies_by_name_regex (line 85) | async def test_should_remove_cookies_by_name_regex( function test_should_remove_cookies_by_domain (line 110) | async def test_should_remove_cookies_by_domain( function test_should_remove_cookies_by_path (line 139) | async def test_should_remove_cookies_by_path( function test_should_remove_cookies_by_name_and_domain (line 174) | async def test_should_remove_cookies_by_name_and_domain( FILE: tests/async/test_browsercontext_client_certificates.py function _skip_webkit_darwin (line 36) | def _skip_webkit_darwin(browser_name: str) -> None: class HttpsResource (line 41) | class HttpsResource(resource.Resource): method _verify_cert_chain (line 45) | def _verify_cert_chain(self, cert: Optional[OpenSSL.crypto.X509]) -> b... method render_GET (line 57) | def render_GET(self, request: Request) -> bytes: function _client_certificate_server (line 95) | def _client_certificate_server(assetdir: Path) -> Generator[None, None, ... function test_should_throw_with_untrusted_client_certs (line 119) | async def test_should_throw_with_untrusted_client_certs( function test_should_work_with_new_context (line 140) | async def test_should_work_with_new_context(browser: Browser, assetdir: ... function test_should_work_with_new_context_passing_as_content (line 175) | async def test_should_work_with_new_context_passing_as_content( function test_should_work_with_new_persistent_context (line 216) | async def test_should_work_with_new_persistent_context( function test_should_work_with_global_api_request_context (line 244) | async def test_should_work_with_global_api_request_context( FILE: tests/async/test_browsercontext_cookies.py function test_should_return_no_cookies_in_pristine_browser_context (line 23) | async def test_should_return_no_cookies_in_pristine_browser_context( function test_should_get_a_cookie (line 29) | async def test_should_get_a_cookie( function test_should_get_a_non_session_cookie (line 57) | async def test_should_get_a_non_session_cookie( function test_should_properly_report_httpOnly_cookie (line 99) | async def test_should_properly_report_httpOnly_cookie( function test_should_properly_report_strict_sameSite_cookie (line 116) | async def test_should_properly_report_strict_sameSite_cookie( function test_should_properly_report_lax_sameSite_cookie (line 135) | async def test_should_properly_report_lax_sameSite_cookie( function test_should_get_multiple_cookies (line 154) | async def test_should_get_multiple_cookies( function test_should_get_cookies_from_multiple_urls (line 195) | async def test_should_get_cookies_from_multiple_urls( FILE: tests/async/test_browsercontext_events.py function test_console_event_should_work (line 26) | async def test_console_event_should_work(page: Page) -> None: function test_console_event_should_work_in_popup (line 35) | async def test_console_event_should_work_in_popup(page: Page) -> None: function test_console_event_should_work_in_popup_2 (line 52) | async def test_console_event_should_work_in_popup_2( function test_console_event_should_work_in_immediately_closed_popup (line 72) | async def test_console_event_should_work_in_immediately_closed_popup( function test_dialog_event_should_work1 (line 90) | async def test_dialog_event_should_work1(page: Page) -> None: function test_dialog_event_should_work_in_popup (line 109) | async def test_dialog_event_should_work_in_popup(page: Page) -> None: function test_dialog_event_should_work_in_popup_2 (line 131) | async def test_dialog_event_should_work_in_popup_2( function test_dialog_event_should_work_in_immdiately_closed_popup (line 146) | async def test_dialog_event_should_work_in_immdiately_closed_popup(page:... function test_dialog_event_should_work_with_inline_script_tag (line 162) | async def test_dialog_event_should_work_with_inline_script_tag( function test_console_event_should_work_with_context_manager (line 187) | async def test_console_event_should_work_with_context_manager(page: Page... function test_page_error_event_should_work (line 195) | async def test_page_error_event_should_work(page: Page) -> None: function test_weberror_event_should_work (line 203) | async def test_weberror_event_should_work(context: BrowserContext, page:... FILE: tests/async/test_browsercontext_proxy.py function browser (line 26) | async def browser( function test_should_use_proxy (line 34) | async def test_should_use_proxy( function test_proxy_should_allow_none_for_optional_settings (line 50) | async def test_proxy_should_allow_none_for_optional_settings( function test_should_use_proxy_for_second_page (line 73) | async def test_should_use_proxy_for_second_page( function test_should_work_with_ip_port_notion (line 94) | async def test_should_work_with_ip_port_notion( function test_should_authenticate (line 110) | async def test_should_authenticate( function test_should_authenticate_with_empty_password (line 140) | async def test_should_authenticate_with_empty_password( FILE: tests/async/test_browsercontext_request_fallback.py function test_should_work (line 22) | async def test_should_work(page: Page, context: BrowserContext, server: ... function test_should_fall_back (line 27) | async def test_should_fall_back( function test_should_fall_back_async_delayed (line 57) | async def test_should_fall_back_async_delayed( function test_should_chain_once (line 77) | async def test_should_chain_once( function test_should_fall_back_after_exception (line 97) | async def test_should_fall_back_after_exception( function test_should_amend_http_headers (line 113) | async def test_should_amend_http_headers( function test_should_delete_header_with_undefined_value (line 137) | async def test_should_delete_header_with_undefined_value( function test_should_amend_method (line 190) | async def test_should_amend_method( function test_should_override_request_url (line 215) | async def test_should_override_request_url( function test_should_amend_post_data (line 251) | async def test_should_amend_post_data( function test_should_amend_binary_post_data (line 273) | async def test_should_amend_binary_post_data( FILE: tests/async/test_browsercontext_request_intercept.py function test_should_fulfill_intercepted_response (line 25) | async def test_should_fulfill_intercepted_response( function test_should_fulfill_response_with_empty_body (line 47) | async def test_should_fulfill_response_with_empty_body( function test_should_override_with_defaults_when_intercepted_response_not_provided (line 63) | async def test_should_override_with_defaults_when_intercepted_response_n... function test_should_fulfill_with_any_response (line 88) | async def test_should_fulfill_with_any_response( function test_should_support_fulfill_after_intercept (line 111) | async def test_should_support_fulfill_after_intercept( function test_should_give_access_to_the_intercepted_response (line 129) | async def test_should_give_access_to_the_intercepted_response( function test_should_give_access_to_the_intercepted_response_body (line 162) | async def test_should_give_access_to_the_intercepted_response_body( function test_should_show_exception_after_fulfill (line 185) | async def test_should_show_exception_after_fulfill(page: Page, server: S... FILE: tests/async/test_browsercontext_route.py function test_route_should_intercept (line 34) | async def test_route_should_intercept(context: BrowserContext, server: S... function test_route_should_unroute (line 58) | async def test_route_should_unroute(context: BrowserContext, server: Ser... function test_route_should_yield_to_page_route (line 94) | async def test_route_should_yield_to_page_route( function test_route_should_fall_back_to_context_route (line 118) | async def test_route_should_fall_back_to_context_route( function test_should_support_set_cookie_header (line 142) | async def test_should_support_set_cookie_header( function test_should_ignore_secure_set_cookie_header_for_insecure_request (line 174) | async def test_should_ignore_secure_set_cookie_header_for_insecure_request( function test_should_use_set_cookie_header_in_future_requests (line 194) | async def test_should_use_set_cookie_header_in_future_requests( function test_should_work_with_ignore_https_errors (line 238) | async def test_should_work_with_ignore_https_errors( function test_should_support_the_times_parameter_with_route_matching (line 250) | async def test_should_support_the_times_parameter_with_route_matching( function test_should_work_if_handler_with_times_parameter_was_removed_from_another_handler (line 266) | async def test_should_work_if_handler_with_times_parameter_was_removed_f... function test_should_support_async_handler_with_times (line 290) | async def test_should_support_async_handler_with_times( function test_should_override_post_body_with_empty_string (line 307) | async def test_should_override_post_body_with_empty_string( function test_should_chain_fallback (line 337) | async def test_should_chain_fallback( function test_should_chain_fallback_with_dynamic_url (line 363) | async def test_should_chain_fallback_with_dynamic_url( function test_should_not_chain_fulfill (line 389) | async def test_should_not_chain_fulfill( function test_should_not_chain_abort (line 413) | async def test_should_not_chain_abort( function test_should_chain_fallback_into_page (line 444) | async def test_should_chain_fallback_into_page( function test_should_fall_back_async (line 489) | async def test_should_fall_back_async( FILE: tests/async/test_browsercontext_service_worker_policy.py function test_should_allow_service_workers_by_default (line 18) | async def test_should_allow_service_workers_by_default( function test_block_blocks_service_worker_registration (line 28) | async def test_block_blocks_service_worker_registration( FILE: tests/async/test_browsercontext_storage_state.py function test_should_capture_local_storage (line 23) | async def test_should_capture_local_storage(context: BrowserContext) -> ... function test_should_set_local_storage (line 46) | async def test_should_set_local_storage(browser: Browser) -> None: function test_should_round_trip_through_the_file (line 99) | async def test_should_round_trip_through_the_file( function test_should_serialiser_storage_state_with_lone_surrogates (line 136) | async def test_should_serialiser_storage_state_with_lone_surrogates( function test_should_serialise_indexed_db (line 148) | async def test_should_serialise_indexed_db(page: Page, server: Server) -... FILE: tests/async/test_browsertype_connect.py function test_should_print_custom_ws_close_error (line 31) | async def test_should_print_custom_ws_close_error( function test_browser_type_connect_should_be_able_to_reconnect_to_a_browser (line 45) | async def test_browser_type_connect_should_be_able_to_reconnect_to_a_bro... function test_browser_type_connect_should_be_able_to_connect_two_browsers_at_the_same_time (line 65) | async def test_browser_type_connect_should_be_able_to_connect_two_browse... function test_browser_type_connect_disconnected_event_should_be_emitted_when_browser_is_closed_or_server_is_closed (line 88) | async def test_browser_type_connect_disconnected_event_should_be_emitted... function test_browser_type_connect_disconnected_event_should_be_emitted_when_remote_killed_connection (line 117) | async def test_browser_type_connect_disconnected_event_should_be_emitted... function test_browser_type_disconnected_event_should_have_browser_as_argument (line 134) | async def test_browser_type_disconnected_event_should_have_browser_as_ar... function test_browser_type_connect_set_browser_connected_state (line 145) | async def test_browser_type_connect_set_browser_connected_state( function test_browser_type_connect_should_throw_when_used_after_is_connected_returns_false (line 155) | async def test_browser_type_connect_should_throw_when_used_after_is_conn... function test_browser_type_connect_should_reject_navigation_when_browser_closes (line 170) | async def test_browser_type_connect_should_reject_navigation_when_browse... function test_should_not_allow_getting_the_path (line 183) | async def test_should_not_allow_getting_the_path( function test_prevent_getting_video_path (line 210) | async def test_prevent_getting_video_path( function test_connect_to_closed_server_without_hangs (line 231) | async def test_connect_to_closed_server_without_hangs( function test_should_fulfill_with_global_fetch_result (line 241) | async def test_should_fulfill_with_global_fetch_result( function test_should_upload_large_file (line 270) | async def test_should_upload_large_file( function test_should_record_trace_with_source (line 325) | async def test_should_record_trace_with_source( function test_should_record_trace_with_relative_trace_path (line 371) | async def test_should_record_trace_with_relative_trace_path( function test_set_input_files_should_preserve_last_modified_timestamp (line 397) | async def test_set_input_files_should_preserve_last_modified_timestamp( function test_should_upload_a_folder (line 425) | async def test_should_upload_a_folder( FILE: tests/async/test_browsertype_connect_cdp.py function test_connect_to_an_existing_cdp_session (line 27) | async def test_connect_to_an_existing_cdp_session( function test_connect_to_an_existing_cdp_session_twice (line 40) | async def test_connect_to_an_existing_cdp_session_twice( function _ws_endpoint_from_url (line 66) | def _ws_endpoint_from_url(url: str) -> str: function test_conect_over_a_ws_endpoint (line 73) | async def test_conect_over_a_ws_endpoint( function test_connect_over_cdp_passing_header_works (line 92) | async def test_connect_over_cdp_passing_header_works( function test_should_print_custom_ws_close_error (line 104) | async def test_should_print_custom_ws_close_error( FILE: tests/async/test_cdp_session.py function test_should_work (line 23) | async def test_should_work(page: Page) -> None: function test_should_receive_events (line 39) | async def test_should_receive_events(page: Page, server: Server) -> None: function test_should_be_able_to_detach_session (line 49) | async def test_should_be_able_to_detach_session(page: Page) -> None: function test_should_not_break_page_close (line 65) | async def test_should_not_break_page_close(browser: Browser) -> None: function test_should_detach_when_page_closes (line 75) | async def test_should_detach_when_page_closes(browser: Browser) -> None: function test_should_work_with_main_frame (line 86) | async def test_should_work_with_main_frame(browser: Browser) -> None: FILE: tests/async/test_check.py function test_check_the_box (line 18) | async def test_check_the_box(page: Page) -> None: function test_not_check_the_checked_box (line 24) | async def test_not_check_the_checked_box(page: Page) -> None: function test_uncheck_the_box (line 30) | async def test_uncheck_the_box(page: Page) -> None: function test_not_uncheck_the_unchecked_box (line 36) | async def test_not_uncheck_the_unchecked_box(page: Page) -> None: function test_check_the_box_by_label (line 42) | async def test_check_the_box_by_label(page: Page) -> None: function test_check_the_box_outside_label (line 50) | async def test_check_the_box_outside_label(page: Page) -> None: function test_check_the_box_inside_label_without_id (line 58) | async def test_check_the_box_inside_label_without_id(page: Page) -> None: function test_check_radio (line 66) | async def test_check_radio(page: Page) -> None: function test_check_the_box_by_aria_role (line 77) | async def test_check_the_box_by_aria_role(page: Page) -> None: FILE: tests/async/test_chromium_tracing.py function test_should_output_a_trace (line 26) | async def test_should_output_a_trace( function test_should_create_directories_as_needed (line 37) | async def test_should_create_directories_as_needed( function rafraf (line 47) | async def rafraf(target: Page, count: int = 1) -> None: function test_should_run_with_custom_categories_if_provided (line 55) | async def test_should_run_with_custom_categories_if_provided( function test_should_throw_if_tracing_on_two_pages (line 78) | async def test_should_throw_if_tracing_on_two_pages( function test_should_return_a_buffer (line 90) | async def test_should_return_a_buffer( function test_should_work_without_options (line 102) | async def test_should_work_without_options( function test_should_support_a_buffer_without_a_path (line 112) | async def test_should_support_a_buffer_without_a_path( FILE: tests/async/test_click.py function give_it_a_chance_to_click (line 26) | async def give_it_a_chance_to_click(page: Page) -> None: function test_click_the_button (line 33) | async def test_click_the_button(page: Page, server: Server) -> None: function test_click_svg (line 39) | async def test_click_svg(page: Page, server: Server) -> None: function test_click_the_button_if_window_node_is_removed (line 51) | async def test_click_the_button_if_window_node_is_removed( function test_click_on_a_span_with_an_inline_element_inside (line 60) | async def test_click_on_a_span_with_an_inline_element_inside( function test_click_not_throw_when_page_closes (line 77) | async def test_click_not_throw_when_page_closes(browser: Browser) -> None: function test_click_the_button_after_navigation (line 90) | async def test_click_the_button_after_navigation(page: Page, server: Ser... function test_click_the_button_after_a_cross_origin_navigation_ (line 98) | async def test_click_the_button_after_a_cross_origin_navigation_( function test_click_with_disabled_javascript (line 108) | async def test_click_with_disabled_javascript(browser: Browser, server: ... function test_click_when_one_of_inline_box_children_is_outside_of_viewport (line 118) | async def test_click_when_one_of_inline_box_children_is_outside_of_viewp... function test_select_the_text_by_triple_clicking (line 136) | async def test_select_the_text_by_triple_clicking(page: Page, server: Se... function test_click_offscreen_buttons (line 152) | async def test_click_offscreen_buttons(page: Page, server: Server) -> None: function test_waitFor_visible_when_already_visible (line 175) | async def test_waitFor_visible_when_already_visible(page: Page, server: ... function test_wait_with_force (line 181) | async def test_wait_with_force(page: Page, server: Server) -> None: function test_wait_for_display_none_to_be_gone (line 194) | async def test_wait_for_display_none_to_be_gone(page: Page, server: Serv... function test_wait_for_visibility_hidden_to_be_gone (line 213) | async def test_wait_for_visibility_hidden_to_be_gone( function test_timeout_waiting_for_display_none_to_be_gone (line 234) | async def test_timeout_waiting_for_display_none_to_be_gone( function test_timeout_waiting_for_visbility_hidden_to_be_gone (line 249) | async def test_timeout_waiting_for_visbility_hidden_to_be_gone( function test_waitFor_visible_when_parent_is_hidden (line 264) | async def test_waitFor_visible_when_parent_is_hidden( function test_click_wrapped_links (line 286) | async def test_click_wrapped_links(page: Page, server: Server) -> None: function test_click_on_checkbox_input_and_toggle (line 292) | async def test_click_on_checkbox_input_and_toggle(page: Page, server: Se... function test_click_on_checkbox_label_and_toggle (line 311) | async def test_click_on_checkbox_label_and_toggle(page: Page, server: Se... function test_not_hang_with_touch_enabled_viewports (line 325) | async def test_not_hang_with_touch_enabled_viewports( function test_scroll_and_click_the_button (line 339) | async def test_scroll_and_click_the_button(page: Page, server: Server) -... function test_double_click_the_button (line 353) | async def test_double_click_the_button(page: Page, server: Server) -> None: function test_click_a_partially_obscured_button (line 368) | async def test_click_a_partially_obscured_button(page: Page, server: Ser... function test_click_a_rotated_button (line 383) | async def test_click_a_rotated_button(page: Page, server: Server) -> None: function test_fire_contextmenu_event_on_right_click (line 389) | async def test_fire_contextmenu_event_on_right_click( function test_click_links_which_cause_navigation (line 400) | async def test_click_links_which_cause_navigation(page: Page, server: Se... function test_click_the_button_inside_an_iframe (line 406) | async def test_click_the_button_inside_an_iframe( function test_click_the_button_with_device_scale_factor_set (line 419) | async def test_click_the_button_with_device_scale_factor_set( function test_click_the_button_with_px_border_with_offset (line 437) | async def test_click_the_button_with_px_border_with_offset( function test_click_the_button_with_em_border_with_offset (line 449) | async def test_click_the_button_with_em_border_with_offset( function test_click_a_very_large_button_with_offset (line 462) | async def test_click_a_very_large_button_with_offset( function test_click_a_button_in_scrolling_container_with_offset (line 477) | async def test_click_a_button_in_scrolling_container_with_offset( function test_click_the_button_with_offset_with_page_scale (line 504) | async def test_click_the_button_with_offset_with_page_scale( function test_wait_for_stable_position (line 534) | async def test_wait_for_stable_position(page: Page, server: Server) -> N... function test_timeout_waiting_for_stable_position (line 561) | async def test_timeout_waiting_for_stable_position(page: Page, server: S... function test_wait_for_becoming_hit_target (line 585) | async def test_wait_for_becoming_hit_target(page: Page, server: Server) ... function test_timeout_waiting_for_hit_target (line 626) | async def test_timeout_waiting_for_hit_target(page: Page, server: Server... function test_fail_when_obscured_and_not_waiting_for_hit_target (line 654) | async def test_fail_when_obscured_and_not_waiting_for_hit_target( function test_wait_for_button_to_be_enabled (line 677) | async def test_wait_for_button_to_be_enabled(page: Page, server: Server)... function test_timeout_waiting_for_button_to_be_enabled (line 696) | async def test_timeout_waiting_for_button_to_be_enabled( function test_wait_for_input_to_be_enabled (line 714) | async def test_wait_for_input_to_be_enabled(page: Page, server: Server) ... function test_wait_for_select_to_be_enabled (line 733) | async def test_wait_for_select_to_be_enabled(page: Page, server: Server)... function test_click_disabled_div (line 760) | async def test_click_disabled_div(page: Page, server: Server) -> None: function test_climb_dom_for_inner_label_with_pointer_events_none (line 768) | async def test_climb_dom_for_inner_label_with_pointer_events_none( function test_climb_up_to_role_button (line 778) | async def test_climb_up_to_role_button(page: Page, server: Server) -> None: function test_wait_for_BUTTON_to_be_clickable_when_it_has_pointer_events_none (line 786) | async def test_wait_for_BUTTON_to_be_clickable_when_it_has_pointer_event... function test_wait_for_LABEL_to_be_clickable_when_it_has_pointer_events_none (line 809) | async def test_wait_for_LABEL_to_be_clickable_when_it_has_pointer_events... function test_update_modifiers_correctly (line 827) | async def test_update_modifiers_correctly(page: Page, server: Server) ->... function test_click_an_offscreen_element_when_scroll_behavior_is_smooth (line 844) | async def test_click_an_offscreen_element_when_scroll_behavior_is_smooth( function test_report_nice_error_when_element_is_detached_and_force_clicked (line 858) | async def test_report_nice_error_when_element_is_detached_and_force_clic... function test_fail_when_element_detaches_after_animation (line 876) | async def test_fail_when_element_detaches_after_animation( function test_retry_when_element_detaches_after_animation (line 892) | async def test_retry_when_element_detaches_after_animation( function test_retry_when_element_is_animating_from_outside_the_viewport (line 921) | async def test_retry_when_element_is_animating_from_outside_the_viewport( function test_fail_when_element_is_animating_from_outside_the_viewport_with_force (line 955) | async def test_fail_when_element_is_animating_from_outside_the_viewport_... function test_not_retarget_when_element_changes_on_hover (line 995) | async def test_not_retarget_when_element_changes_on_hover( function test_not_retarget_when_element_is_recycled_on_hover (line 1009) | async def test_not_retarget_when_element_is_recycled_on_hover( function test_click_the_button_when_window_inner_width_is_corrupted (line 1027) | async def test_click_the_button_when_window_inner_width_is_corrupted( function test_timeout_when_click_opens_alert (line 1036) | async def test_timeout_when_click_opens_alert(page: Page, server: Server... function test_check_the_box (line 1046) | async def test_check_the_box(page: Page) -> None: function test_not_check_the_checked_box (line 1052) | async def test_not_check_the_checked_box(page: Page) -> None: function test_uncheck_the_box (line 1058) | async def test_uncheck_the_box(page: Page) -> None: function test_not_uncheck_the_unchecked_box (line 1064) | async def test_not_uncheck_the_unchecked_box(page: Page) -> None: function test_check_the_box_by_label (line 1070) | async def test_check_the_box_by_label(page: Page) -> None: function test_check_the_box_outside_label (line 1078) | async def test_check_the_box_outside_label(page: Page) -> None: function test_check_the_box_inside_label_without_id (line 1086) | async def test_check_the_box_inside_label_without_id(page: Page) -> None: function test_check_radio (line 1094) | async def test_check_radio(page: Page) -> None: function test_check_the_box_by_aria_role (line 1105) | async def test_check_the_box_by_aria_role(page: Page) -> None: function test_click_with_tweened_mouse_movement (line 1116) | async def test_click_with_tweened_mouse_movement(page: Page, browser_nam... FILE: tests/async/test_console.py function test_console_should_work (line 23) | async def test_console_should_work(page: Page, browser_name: str) -> None: function test_console_should_emit_same_log_twice (line 41) | async def test_console_should_emit_same_log_twice(page: Page) -> None: function test_console_should_use_text_for__str__ (line 48) | async def test_console_should_use_text_for__str__(page: Page) -> None: function test_console_should_work_for_different_console_api_calls (line 56) | async def test_console_should_work_for_different_console_api_calls(page:... function test_console_should_not_fail_for_window_object (line 91) | async def test_console_should_not_fail_for_window_object( function test_console_should_trigger_correct_log (line 105) | async def test_console_should_trigger_correct_log(page: Page, server: Se... function test_console_should_have_location_for_console_api_calls (line 114) | async def test_console_should_have_location_for_console_api_calls( function test_console_should_not_throw_when_there_are_console_messages_in_detached_iframes (line 129) | async def test_console_should_not_throw_when_there_are_console_messages_... FILE: tests/async/test_context_manager.py function test_context_managers (line 22) | async def test_context_managers( function test_context_managers_not_hang (line 35) | async def test_context_managers_not_hang(context: BrowserContext) -> None: FILE: tests/async/test_defaultbrowsercontext.py function launch_persistent (line 48) | async def launch_persistent( function test_context_cookies_should_work (line 67) | async def test_context_cookies_should_work( function test_context_add_cookies_should_work (line 96) | async def test_context_add_cookies_should_work( function _filter_cookies (line 128) | def _filter_cookies(cookies: Sequence[Cookie]) -> List[Cookie]: function test_context_clear_cookies_should_work (line 134) | async def test_context_clear_cookies_should_work( function test_should_not_block_third_party_cookies (line 153) | async def test_should_not_block_third_party_cookies( function test_should_support_viewport_option (line 200) | async def test_should_support_viewport_option( function test_should_support_device_scale_factor_option (line 210) | async def test_should_support_device_scale_factor_option( function test_should_support_user_agent_option (line 217) | async def test_should_support_user_agent_option( function test_should_support_bypass_csp_option (line 230) | async def test_should_support_bypass_csp_option( function test_should_support_javascript_enabled_option (line 240) | async def test_should_support_javascript_enabled_option( function test_should_support_http_credentials_option (line 254) | async def test_should_support_http_credentials_option( function test_should_support_offline_option (line 267) | async def test_should_support_offline_option( function test_should_support_has_touch_option (line 276) | async def test_should_support_has_touch_option( function test_should_work_in_persistent_context (line 286) | async def test_should_work_in_persistent_context( function test_should_support_color_scheme_option (line 298) | async def test_should_support_color_scheme_option( function test_should_support_timezone_id_option (line 311) | async def test_should_support_timezone_id_option( function test_should_support_contrast_option (line 321) | async def test_should_support_contrast_option( function test_should_support_locale_option (line 331) | async def test_should_support_locale_option( function test_should_support_geolocation_and_permission_option (line 338) | async def test_should_support_geolocation_and_permission_option( function test_should_support_ignore_https_errors_option (line 354) | async def test_should_support_ignore_https_errors_option( function test_should_support_extra_http_headers_option (line 364) | async def test_should_support_extra_http_headers_option( function test_should_accept_user_data_dir (line 376) | async def test_should_accept_user_data_dir( function test_should_restore_state_from_userDataDir (line 387) | async def test_should_restore_state_from_userDataDir( function test_should_have_default_url_when_launching_browser (line 420) | async def test_should_have_default_url_when_launching_browser( function test_should_throw_if_page_argument_is_passed (line 429) | async def test_should_throw_if_page_argument_is_passed( function test_should_fire_close_event_for_a_persistent_context (line 438) | async def test_should_fire_close_event_for_a_persistent_context( function test_should_support_reduced_motion (line 448) | async def test_should_support_reduced_motion( function test_should_support_har_option (line 455) | async def test_should_support_har_option( FILE: tests/async/test_device_descriptors.py function test_should_work (line 22) | async def test_should_work(playwright: Playwright, launch_arguments: Dic... FILE: tests/async/test_dialog.py function test_should_fire (line 18) | async def test_should_fire(page: Page) -> None: function test_should_allow_accepting_prompts (line 33) | async def test_should_allow_accepting_prompts(page: Page) -> None: function test_should_dismiss_the_prompt (line 48) | async def test_should_dismiss_the_prompt(page: Page) -> None: function test_should_accept_the_confirm_prompt (line 60) | async def test_should_accept_the_confirm_prompt(page: Page) -> None: function test_should_dismiss_the_confirm_prompt (line 72) | async def test_should_dismiss_the_confirm_prompt(page: Page) -> None: function test_should_be_able_to_close_context_with_open_alert (line 84) | async def test_should_be_able_to_close_context_with_open_alert( function test_should_auto_dismiss_the_prompt_without_listeners (line 94) | async def test_should_auto_dismiss_the_prompt_without_listeners(page: Pa... function test_should_auto_dismiss_the_alert_without_listeners (line 99) | async def test_should_auto_dismiss_the_alert_without_listeners(page: Pag... FILE: tests/async/test_dispatch_event.py function test_should_dispatch_click_event (line 22) | async def test_should_dispatch_click_event(page: Page, server: Server) -... function test_should_dispatch_click_event_properties (line 28) | async def test_should_dispatch_click_event_properties( function test_should_dispatch_click_svg (line 38) | async def test_should_dispatch_click_svg(page: Page) -> None: function test_should_dispatch_click_on_a_span_with_an_inline_element_inside (line 50) | async def test_should_dispatch_click_on_a_span_with_an_inline_element_in... function test_should_dispatch_click_after_navigation (line 67) | async def test_should_dispatch_click_after_navigation( function test_should_dispatch_click_after_a_cross_origin_navigation (line 77) | async def test_should_dispatch_click_after_a_cross_origin_navigation( function test_should_not_fail_when_element_is_blocked_on_hover (line 87) | async def test_should_not_fail_when_element_is_blocked_on_hover(page: Pa... function test_should_dispatch_click_when_node_is_added_in_shadow_dom (line 104) | async def test_should_dispatch_click_when_node_is_added_in_shadow_dom( function test_should_be_atomic (line 129) | async def test_should_be_atomic(selectors: Selectors, page: Page, utils:... function test_should_dispatch_drag_drop_events (line 154) | async def test_should_dispatch_drag_drop_events(page: Page, server: Serv... function test_should_dispatch_drag_and_drop_events_element_handle (line 166) | async def test_should_dispatch_drag_and_drop_events_element_handle( function test_should_dispatch_click_event_element_handle (line 184) | async def test_should_dispatch_click_event_element_handle( FILE: tests/async/test_download.py function assert_file_content (line 27) | def assert_file_content(path: Path, content: str) -> None: function after_each_hook (line 33) | def after_each_hook(server: Server) -> Generator[None, None, None]: function test_should_report_downloads_with_accept_downloads_false (line 51) | async def test_should_report_downloads_with_accept_downloads_false( function test_should_report_downloads_with_accept_downloads_true (line 71) | async def test_should_report_downloads_with_accept_downloads_true( function test_should_save_to_user_specified_path (line 85) | async def test_should_save_to_user_specified_path( function test_should_save_to_user_specified_path_without_updating_original_path (line 100) | async def test_should_save_to_user_specified_path_without_updating_origi... function test_should_save_to_two_different_paths_with_multiple_save_as_calls (line 119) | async def test_should_save_to_two_different_paths_with_multiple_save_as_... function test_should_save_to_overwritten_filepath (line 139) | async def test_should_save_to_overwritten_filepath( function test_should_create_subdirectories_when_saving_to_non_existent_user_specified_path (line 157) | async def test_should_create_subdirectories_when_saving_to_non_existent_... function test_should_error_when_saving_with_downloads_disabled (line 172) | async def test_should_error_when_saving_with_downloads_disabled( function test_should_error_when_saving_after_deletion (line 194) | async def test_should_error_when_saving_after_deletion( function test_should_report_non_navigation_downloads (line 210) | async def test_should_report_non_navigation_downloads( function test_report_download_path_within_page_on_download_handler_for_files (line 236) | async def test_report_download_path_within_page_on_download_handler_for_... function test_download_report_download_path_within_page_on_handle_for_blobs (line 256) | async def test_download_report_download_path_within_page_on_handle_for_b... function test_should_report_alt_click_downloads (line 278) | async def test_should_report_alt_click_downloads( function test_should_report_new_window_downloads (line 302) | async def test_should_report_new_window_downloads( function test_should_delete_file (line 317) | async def test_should_delete_file(browser: Browser, server: Server) -> N... function test_should_delete_downloads_on_context_destruction (line 330) | async def test_should_delete_downloads_on_context_destruction( function test_should_delete_downloads_on_browser_gone (line 350) | async def test_should_delete_downloads_on_browser_gone( function test_download_cancel_should_work (line 372) | async def test_download_cancel_should_work(browser: Browser, server: Ser... FILE: tests/async/test_element_handle.py function test_bounding_box (line 26) | async def test_bounding_box(page: Page, server: Server) -> None: function test_bounding_box_handle_nested_frames (line 35) | async def test_bounding_box_handle_nested_frames(page: Page, server: Ser... function test_bounding_box_return_null_for_invisible_elements (line 46) | async def test_bounding_box_return_null_for_invisible_elements( function test_bounding_box_force_a_layout (line 55) | async def test_bounding_box_force_a_layout(page: Page, server: Server) -... function test_bounding_box_with_SVG_nodes (line 65) | async def test_bounding_box_with_SVG_nodes(page: Page, server: Server) -... function test_bounding_box_with_page_scale (line 85) | async def test_bounding_box_with_page_scale(browser: Browser, server: Se... function test_bounding_box_when_inline_box_child_is_outside_of_viewport (line 113) | async def test_bounding_box_when_inline_box_child_is_outside_of_viewport( function test_content_frame (line 153) | async def test_content_frame(page: Page, server: Server, utils: Utils) -... function test_content_frame_for_non_iframes (line 162) | async def test_content_frame_for_non_iframes( function test_content_frame_for_document_element (line 172) | async def test_content_frame_for_document_element( function test_owner_frame (line 184) | async def test_owner_frame(page: Page, server: Server, utils: Utils) -> ... function test_owner_frame_for_cross_process_iframes (line 192) | async def test_owner_frame_for_cross_process_iframes( function test_owner_frame_for_document (line 204) | async def test_owner_frame_for_document( function test_owner_frame_for_iframe_elements (line 214) | async def test_owner_frame_for_iframe_elements( function test_owner_frame_for_cross_frame_evaluations (line 226) | async def test_owner_frame_for_cross_frame_evaluations( function test_owner_frame_for_detached_elements (line 241) | async def test_owner_frame_for_detached_elements(page: Page, server: Ser... function test_owner_frame_for_adopted_elements (line 265) | async def test_owner_frame_for_adopted_elements(page: Page, server: Serv... function test_click (line 294) | async def test_click(page: Page, server: Server) -> None: function test_click_with_node_removed (line 302) | async def test_click_with_node_removed(page: Page, server: Server) -> None: function test_click_for_shadow_dom_v1 (line 311) | async def test_click_for_shadow_dom_v1(page: Page, server: Server) -> None: function test_click_for_TextNodes (line 318) | async def test_click_for_TextNodes(page: Page, server: Server) -> None: function test_click_throw_for_detached_nodes (line 328) | async def test_click_throw_for_detached_nodes(page: Page, server: Server... function test_click_throw_for_hidden_nodes_with_force (line 338) | async def test_click_throw_for_hidden_nodes_with_force( function test_click_throw_for_recursively_hidden_nodes_with_force (line 350) | async def test_click_throw_for_recursively_hidden_nodes_with_force( function test_click_throw_for__br__elements_with_force (line 362) | async def test_click_throw_for__br__elements_with_force( function test_double_click_the_button (line 373) | async def test_double_click_the_button(page: Page, server: Server) -> None: function test_hover (line 391) | async def test_hover(page: Page, server: Server) -> None: function test_hover_when_node_is_removed (line 401) | async def test_hover_when_node_is_removed(page: Page, server: Server) ->... function test_scroll (line 412) | async def test_scroll(page: Page, server: Server) -> None: function test_scroll_should_throw_for_detached_element (line 435) | async def test_scroll_should_throw_for_detached_element( function waiting_helper (line 447) | async def waiting_helper(page: Page, after: str) -> None: function test_should_wait_for_display_none_to_become_visible (line 466) | async def test_should_wait_for_display_none_to_become_visible(page: Page... function test_should_work_for_visibility_hidden_element (line 471) | async def test_should_work_for_visibility_hidden_element(page: Page) -> ... function test_should_work_for_zero_sized_element (line 478) | async def test_should_work_for_zero_sized_element(page: Page) -> None: function test_should_wait_for_nested_display_none_to_become_visible (line 485) | async def test_should_wait_for_nested_display_none_to_become_visible( function test_should_timeout_waiting_for_visible (line 492) | async def test_should_timeout_waiting_for_visible(page: Page) -> None: function test_fill_input (line 502) | async def test_fill_input(page: Page, server: Server) -> None: function test_fill_input_when_Node_is_removed (line 510) | async def test_fill_input_when_Node_is_removed(page: Page, server: Serve... function test_select_textarea (line 519) | async def test_select_textarea( function test_select_input (line 537) | async def test_select_input( function test_select_text_select_plain_div (line 555) | async def test_select_text_select_plain_div(page: Page, server: Server) ... function test_select_text_timeout_waiting_for_invisible_element (line 563) | async def test_select_text_timeout_waiting_for_invisible_element( function test_select_text_wait_for_visible (line 575) | async def test_select_text_wait_for_visible(page: Page, server: Server) ... function test_a_nice_preview (line 596) | async def test_a_nice_preview(page: Page, server: Server) -> None: function test_get_attribute (line 612) | async def test_get_attribute(page: Page, server: Server) -> None: function test_inner_html (line 620) | async def test_inner_html(page: Page, server: Server) -> None: function test_inner_text (line 628) | async def test_inner_text(page: Page, server: Server) -> None: function test_inner_text_should_throw (line 636) | async def test_inner_text_should_throw(page: Page, server: Server) -> None: function test_text_content (line 649) | async def test_text_content(page: Page, server: Server) -> None: function test_check_the_box (line 657) | async def test_check_the_box(page: Page) -> None: function test_uncheck_the_box (line 665) | async def test_uncheck_the_box(page: Page) -> None: function test_select_single_option (line 673) | async def test_select_single_option(page: Page, server: Server) -> None: function test_focus_a_button (line 682) | async def test_focus_a_button(page: Page, server: Server) -> None: function test_is_visible_and_is_hidden_should_work (line 691) | async def test_is_visible_and_is_hidden_should_work(page: Page) -> None: function test_is_enabled_and_is_disabled_should_work (line 707) | async def test_is_enabled_and_is_disabled_should_work(page: Page) -> None: function test_is_editable_should_work (line 735) | async def test_is_editable_should_work(page: Page) -> None: function test_is_checked_should_work (line 754) | async def test_is_checked_should_work(page: Page) -> None: function test_input_value (line 768) | async def test_input_value(page: Page, server: Server) -> None: function test_set_checked (line 779) | async def test_set_checked(page: Page) -> None: function test_should_allow_disposing_twice (line 789) | async def test_should_allow_disposing_twice(page: Page) -> None: FILE: tests/async/test_element_handle_wait_for_element_state.py function give_it_a_chance_to_resolve (line 24) | async def give_it_a_chance_to_resolve(page: Page) -> None: function wait_for_state (line 31) | async def wait_for_state(div: ElementHandle, state: str, done: List[bool... function wait_for_state_to_throw (line 36) | async def wait_for_state_to_throw( function test_should_wait_for_visible (line 44) | async def test_should_wait_for_visible(page: Page) -> None: function test_should_wait_for_already_visible (line 57) | async def test_should_wait_for_already_visible(page: Page) -> None: function test_should_timeout_waiting_for_visible (line 64) | async def test_should_timeout_waiting_for_visible(page: Page) -> None: function test_should_throw_waiting_for_visible_when_detached (line 73) | async def test_should_throw_waiting_for_visible_when_detached(page: Page... function test_should_wait_for_hidden (line 83) | async def test_should_wait_for_hidden(page: Page) -> None: function test_should_wait_for_already_hidden (line 95) | async def test_should_wait_for_already_hidden(page: Page) -> None: function test_should_wait_for_hidden_when_detached (line 102) | async def test_should_wait_for_hidden_when_detached(page: Page) -> None: function test_should_wait_for_enabled_button (line 115) | async def test_should_wait_for_enabled_button(page: Page, server: Server... function test_should_throw_waiting_for_enabled_when_detached (line 127) | async def test_should_throw_waiting_for_enabled_when_detached(page: Page... function test_should_wait_for_disabled_button (line 137) | async def test_should_wait_for_disabled_button(page: Page) -> None: function test_should_wait_for_editable_input (line 149) | async def test_should_wait_for_editable_input(page: Page, server: Server... FILE: tests/async/test_emulation_focus.py function test_should_think_that_it_is_focused_by_default (line 22) | async def test_should_think_that_it_is_focused_by_default(page: Page) ->... function test_should_think_that_all_pages_are_focused (line 26) | async def test_should_think_that_all_pages_are_focused(page: Page) -> None: function test_should_focus_popups_by_default (line 33) | async def test_should_focus_popups_by_default(page: Page, server: Server... function test_should_provide_target_for_keyboard_events (line 42) | async def test_should_provide_target_for_keyboard_events( function test_should_not_affect_mouse_event_target_page (line 67) | async def test_should_not_affect_mouse_event_target_page( function test_should_change_document_activeElement (line 91) | async def test_should_change_document_activeElement(page: Page, server: ... function test_should_change_focused_iframe (line 108) | async def test_should_change_focused_iframe( FILE: tests/async/test_expect_misc.py function test_to_be_in_viewport_should_work (line 21) | async def test_to_be_in_viewport_should_work(page: Page, server: Server)... function test_to_be_in_viewport_should_respect_ratio_option (line 35) | async def test_to_be_in_viewport_should_respect_ratio_option( function test_to_be_in_viewport_should_have_good_stack (line 57) | async def test_to_be_in_viewport_should_have_good_stack( function test_to_be_in_viewport_should_report_intersection_even_if_fully_covered_by_other_element (line 65) | async def test_to_be_in_viewport_should_report_intersection_even_if_full... function test_should_have_timeout_error_name (line 77) | async def test_should_have_timeout_error_name(page: Page) -> None: FILE: tests/async/test_extension.py function launch_persistent_context (line 27) | async def launch_persistent_context( function test_should_give_access_to_the_service_worker (line 63) | async def test_should_give_access_to_the_service_worker( function test_should_give_access_to_the_service_worker_when_recording_video (line 84) | async def test_should_give_access_to_the_service_worker_when_recording_v... function test_should_report_console_messages_from_content_script (line 109) | async def test_should_report_console_messages_from_content_script( FILE: tests/async/test_fetch_browser_context.py function test_get_should_work (line 28) | async def test_get_should_work(context: BrowserContext, server: Server) ... function test_fetch_should_work (line 42) | async def test_fetch_should_work(context: BrowserContext, server: Server... function test_should_throw_on_network_error (line 56) | async def test_should_throw_on_network_error( function test_should_add_session_cookies_to_request (line 64) | async def test_should_add_session_cookies_to_request( function test_should_support_query_params (line 90) | async def test_should_support_query_params( function test_should_support_params_passed_as_object (line 110) | async def test_should_support_params_passed_as_object( function test_should_support_params_passed_as_strings (line 129) | async def test_should_support_params_passed_as_strings( function test_should_support_fail_on_status_code (line 148) | async def test_should_support_fail_on_status_code( function test_should_support_ignore_https_errors_option (line 161) | async def test_should_support_ignore_https_errors_option( function test_should_not_add_context_cookie_if_cookie_header_passed_as_parameter (line 171) | async def test_should_not_add_context_cookie_if_cookie_header_passed_as_... function test_should_support_http_credentials_send_immediately_for_browser_context (line 194) | async def test_should_support_http_credentials_send_immediately_for_brow... function test_support_http_credentials_send_immediately_for_browser_new_page (line 223) | async def test_support_http_credentials_send_immediately_for_browser_new... function test_should_support_post_data (line 255) | async def test_should_support_post_data( function test_should_support_application_x_www_form_urlencoded (line 279) | async def test_should_support_application_x_www_form_urlencoded( function test_should_support_multipart_form_data (line 304) | async def test_should_support_multipart_form_data( function test_should_add_default_headers (line 335) | async def test_should_add_default_headers( function test_should_work_after_context_dispose (line 349) | async def test_should_work_after_context_dispose( function test_should_retry_ECONNRESET (line 357) | async def test_should_retry_ECONNRESET(context: BrowserContext, server: ... FILE: tests/async/test_fetch_global.py function test_should_work (line 32) | async def test_should_work(playwright: Playwright, method: str, server: ... function test_should_dispose_global_request (line 49) | async def test_should_dispose_global_request( function test_should_dispose_with_custom_error_message (line 60) | async def test_should_dispose_with_custom_error_message( function test_should_support_global_user_agent_option (line 69) | async def test_should_support_global_user_agent_option( function test_should_support_global_timeout_option (line 83) | async def test_should_support_global_timeout_option( function test_should_support_timeout_option_in_get_method (line 92) | async def test_should_support_timeout_option_in_get_method( function test_should_propagate_extra_http_headers_with_redirects (line 101) | async def test_should_propagate_extra_http_headers_with_redirects( function test_should_support_global_http_credentials_option (line 120) | async def test_should_support_global_http_credentials_option( function test_should_return_error_with_wrong_credentials (line 138) | async def test_should_return_error_with_wrong_credentials( function test_should_work_with_correct_credentials_and_matching_origin (line 150) | async def test_should_work_with_correct_credentials_and_matching_origin( function test_should_work_with_correct_credentials_and_matching_origin_case_insensitive (line 166) | async def test_should_work_with_correct_credentials_and_matching_origin_... function test_should_return_error_with_correct_credentials_and_mismatching_scheme (line 182) | async def test_should_return_error_with_correct_credentials_and_mismatch... function test_should_return_error_with_correct_credentials_and_mismatching_hostname (line 198) | async def test_should_return_error_with_correct_credentials_and_mismatch... function test_should_return_error_with_correct_credentials_and_mismatching_port (line 213) | async def test_should_return_error_with_correct_credentials_and_mismatch... function test_support_http_credentials_send_immediately (line 226) | async def test_support_http_credentials_send_immediately( function test_should_support_global_ignore_https_errors_option (line 255) | async def test_should_support_global_ignore_https_errors_option( function test_should_resolve_url_relative_to_global_base_url_option (line 266) | async def test_should_resolve_url_relative_to_global_base_url_option( function test_should_use_playwright_as_a_user_agent (line 277) | async def test_should_use_playwright_as_a_user_agent( function test_should_return_empty_body (line 289) | async def test_should_return_empty_body(playwright: Playwright, server: ... function test_storage_state_should_round_trip_through_file (line 300) | async def test_storage_state_should_round_trip_through_file( function test_should_json_stringify_body_when_content_type_is_application_json (line 341) | async def test_should_json_stringify_body_when_content_type_is_applicati... function test_should_not_double_stringify_body_when_content_type_is_application_json (line 360) | async def test_should_not_double_stringify_body_when_content_type_is_app... function test_should_accept_already_serialized_data_as_bytes_when_content_type_is_application_json (line 380) | async def test_should_accept_already_serialized_data_as_bytes_when_conte... function test_should_contain_default_user_agent (line 398) | async def test_should_contain_default_user_agent( function test_should_throw_an_error_when_max_redirects_is_exceeded (line 412) | async def test_should_throw_an_error_when_max_redirects_is_exceeded( function test_should_not_follow_redirects_when_max_redirects_is_set_to_0 (line 432) | async def test_should_not_follow_redirects_when_max_redirects_is_set_to_0( function test_should_throw_an_error_when_max_redirects_is_less_than_0 (line 447) | async def test_should_throw_an_error_when_max_redirects_is_less_than_0( function test_should_serialize_request_data (line 460) | async def test_should_serialize_request_data( function test_should_retry_ECONNRESET (line 477) | async def test_should_retry_ECONNRESET(playwright: Playwright, server: S... function test_should_throw_when_fail_on_status_code_is_true (line 500) | async def test_should_throw_when_fail_on_status_code_is_true( function test_should_not_throw_when_fail_on_status_code_is_false (line 519) | async def test_should_not_throw_when_fail_on_status_code_is_false( function test_should_follow_max_redirects (line 538) | async def test_should_follow_max_redirects( FILE: tests/async/test_fill.py function test_fill_textarea (line 19) | async def test_fill_textarea(page: Page, server: Server) -> None: function test_is_enabled_for_non_editable_button (line 25) | async def test_is_enabled_for_non_editable_button(page: Page) -> None: function test_fill_input (line 35) | async def test_fill_input(page: Page, server: Server) -> None: FILE: tests/async/test_focus.py function test_should_work (line 20) | async def test_should_work(page: Page) -> None: function test_should_emit_focus_event (line 27) | async def test_should_emit_focus_event(page: Page) -> None: function test_should_emit_blur_event (line 36) | async def test_should_emit_blur_event(page: Page) -> None: function test_should_traverse_focus (line 52) | async def test_should_traverse_focus(page: Page) -> None: function test_should_traverse_focus_in_all_directions (line 68) | async def test_should_traverse_focus_in_all_directions(page: Page) -> None: function test_should_traverse_only_form_elements (line 84) | async def test_should_traverse_only_form_elements(page: Page) -> None: FILE: tests/async/test_frames.py function test_evaluate_handle (line 26) | async def test_evaluate_handle(page: Page, server: Server) -> None: function test_frame_element (line 34) | async def test_frame_element(page: Page, server: Server, utils: Utils) -... function test_frame_element_with_content_frame (line 52) | async def test_frame_element_with_content_frame( function test_frame_element_throw_when_detached (line 62) | async def test_frame_element_throw_when_detached( function test_evaluate_throw_for_detached_frames (line 77) | async def test_evaluate_throw_for_detached_frames( function test_evaluate_isolated_between_frames (line 92) | async def test_evaluate_isolated_between_frames( function test_should_handle_nested_frames (line 111) | async def test_should_handle_nested_frames( function test_should_send_events_when_frames_are_manipulated_dynamically (line 124) | async def test_should_send_events_when_frames_are_manipulated_dynamically( function test_framenavigated_when_navigating_on_anchor_urls (line 157) | async def test_framenavigated_when_navigating_on_anchor_urls( function test_persist_main_frame_on_cross_process_navigation (line 166) | async def test_persist_main_frame_on_cross_process_navigation( function test_should_not_send_attach_detach_events_for_main_frame (line 175) | async def test_should_not_send_attach_detach_events_for_main_frame( function test_detach_child_frames_on_navigation (line 185) | async def test_detach_child_frames_on_navigation(page: Page, server: Ser... function test_framesets (line 206) | async def test_framesets(page: Page, server: Server) -> None: function test_frame_from_inside_shadow_dom (line 227) | async def test_frame_from_inside_shadow_dom(page: Page, server: Server) ... function test_frame_name (line 242) | async def test_frame_name(page: Page, server: Server, utils: Utils) -> N... function test_frame_parent (line 259) | async def test_frame_parent(page: Page, server: Server, utils: Utils) ->... function test_should_report_different_frame_instance_when_frame_re_attaches (line 267) | async def test_should_report_different_frame_instance_when_frame_re_atta... function test_strict_mode (line 287) | async def test_strict_mode(page: Page, server: Server) -> None: FILE: tests/async/test_geolocation.py function test_should_work (line 22) | async def test_should_work(page: Page, server: Server, context: BrowserC... function test_should_throw_when_invalid_longitude (line 34) | async def test_should_throw_when_invalid_longitude(context: BrowserConte... function test_should_isolate_contexts (line 43) | async def test_should_isolate_contexts( function test_should_use_context_options (line 74) | async def test_should_use_context_options(browser: Browser, server: Serv... function test_watch_position_should_be_notified (line 90) | async def test_watch_position_should_be_notified( function test_should_use_context_options_for_popup (line 123) | async def test_should_use_context_options_for_popup( FILE: tests/async/test_har.py function test_should_work (line 30) | async def test_should_work(browser: Browser, server: Server, tmp_path: P... function test_should_omit_content (line 41) | async def test_should_omit_content( function test_should_omit_content_legacy (line 61) | async def test_should_omit_content_legacy( function test_should_attach_content (line 80) | async def test_should_attach_content( function test_should_not_omit_content (line 139) | async def test_should_not_omit_content( function test_should_include_content (line 155) | async def test_should_include_content( function test_should_default_to_full_mode (line 173) | async def test_should_default_to_full_mode( function test_should_support_minimal_mode (line 190) | async def test_should_support_minimal_mode( function test_should_filter_by_glob (line 208) | async def test_should_filter_by_glob( function test_should_filter_by_regexp (line 229) | async def test_should_filter_by_regexp( function test_should_context_route_from_har_matching_the_method_and_following_redirects (line 250) | async def test_should_context_route_from_har_matching_the_method_and_fol... function test_should_page_route_from_har_matching_the_method_and_following_redirects (line 262) | async def test_should_page_route_from_har_matching_the_method_and_follow... function test_fallback_continue_should_continue_when_not_found_in_har (line 273) | async def test_fallback_continue_should_continue_when_not_found_in_har( function test_by_default_should_abort_requests_not_found_in_har (line 284) | async def test_by_default_should_abort_requests_not_found_in_har( function test_fallback_continue_should_continue_requests_on_bad_har (line 305) | async def test_fallback_continue_should_continue_requests_on_bad_har( function test_should_only_handle_requests_matching_url_filter (line 319) | async def test_should_only_handle_requests_matching_url_filter( function test_should_only_handle_requests_matching_url_filter_no_fallback (line 343) | async def test_should_only_handle_requests_matching_url_filter_no_fallback( function test_should_only_handle_requests_matching_url_filter_no_fallback_page (line 365) | async def test_should_only_handle_requests_matching_url_filter_no_fallba... function test_should_support_regex_filter (line 386) | async def test_should_support_regex_filter( function test_should_change_document_url_after_redirected_navigation (line 399) | async def test_should_change_document_url_after_redirected_navigation( function test_should_change_document_url_after_redirected_navigation_on_click (line 417) | async def test_should_change_document_url_after_redirected_navigation_on... function test_should_go_back_to_redirected_navigation (line 438) | async def test_should_go_back_to_redirected_navigation( function test_should_go_forward_to_redirected_navigation (line 456) | async def test_should_go_forward_to_redirected_navigation( function test_should_reload_redirected_navigation (line 477) | async def test_should_reload_redirected_navigation( function test_should_fulfill_from_har_with_content_in_a_file (line 493) | async def test_should_fulfill_from_har_with_content_in_a_file( function test_should_round_trip_har_zip (line 502) | async def test_should_round_trip_har_zip( function test_should_round_trip_har_with_post_data (line 523) | async def test_should_round_trip_har_with_post_data( function test_should_disambiguate_by_header (line 556) | async def test_should_disambiguate_by_header( function test_should_produce_extracted_zip (line 599) | async def test_should_produce_extracted_zip( function test_should_update_har_zip_for_context (line 626) | async def test_should_update_har_zip_for_context( function test_page_unroute_all_should_stop_page_route_from_har (line 648) | async def test_page_unroute_all_should_stop_page_route_from_har( function test_context_unroute_call_should_stop_context_route_from_har (line 667) | async def test_context_unroute_call_should_stop_context_route_from_har( function test_should_update_har_zip_for_page (line 686) | async def test_should_update_har_zip_for_page( function test_should_update_har_zip_for_page_with_different_options (line 708) | async def test_should_update_har_zip_for_page_with_different_options( function test_should_update_extracted_har_zip_for_page (line 731) | async def test_should_update_extracted_har_zip_for_page( function test_should_ignore_aborted_requests (line 757) | async def test_should_ignore_aborted_requests( FILE: tests/async/test_headful.py function test_should_have_default_url_when_launching_browser (line 25) | async def test_should_have_default_url_when_launching_browser( function test_should_close_browser_with_beforeunload_page (line 36) | async def test_should_close_browser_with_beforeunload_page( function test_should_not_crash_when_creating_second_context (line 50) | async def test_should_not_crash_when_creating_second_context( function test_should_click_background_tab (line 63) | async def test_should_click_background_tab( function test_should_close_browser_after_context_menu_was_triggered (line 76) | async def test_should_close_browser_after_context_menu_was_triggered( function test_should_not_block_third_party_cookies (line 86) | async def test_should_not_block_third_party_cookies( function test_should_not_override_viewport_size_when_passed_null (line 139) | async def test_should_not_override_viewport_size_when_passed_null( function test_page_bring_to_front_should_work (line 163) | async def test_page_bring_to_front_should_work( FILE: tests/async/test_ignore_https_errors.py function test_ignore_https_error_should_work (line 21) | async def test_ignore_https_error_should_work( function test_ignore_https_error_should_work_negative_case (line 32) | async def test_ignore_https_error_should_work_negative_case( FILE: tests/async/test_input.py function test_should_upload_the_file (line 34) | async def test_should_upload_the_file(page: Page, server: Server) -> None: function test_should_work (line 55) | async def test_should_work(page: Page, assetdir: Path) -> None: function test_should_set_from_memory (line 65) | async def test_should_set_from_memory(page: Page) -> None: function test_should_emit_event (line 83) | async def test_should_emit_event(page: Page) -> None: function test_should_work_when_file_input_is_attached_to_dom (line 96) | async def test_should_work_when_file_input_is_attached_to_dom(page: Page... function test_should_work_when_file_input_is_not_attached_to_DOM (line 104) | async def test_should_work_when_file_input_is_not_attached_to_DOM(page: ... function test_should_return_the_same_file_chooser_when_there_are_many_watchdogs_simultaneously (line 117) | async def test_should_return_the_same_file_chooser_when_there_are_many_w... function test_should_accept_single_file (line 129) | async def test_should_accept_single_file(page: Page) -> None: function test_should_be_able_to_read_selected_file (line 144) | async def test_should_be_able_to_read_selected_file(page: Page) -> None: function test_should_be_able_to_reset_selected_files_with_empty_file_list (line 163) | async def test_should_be_able_to_reset_selected_files_with_empty_file_list( function test_should_not_accept_multiple_files_for_single_file_input (line 195) | async def test_should_not_accept_multiple_files_for_single_file_input( function test_should_emit_input_and_change_events (line 212) | async def test_should_emit_input_and_change_events(page: Page) -> None: function test_should_work_for_single_file_pick (line 230) | async def test_should_work_for_single_file_pick(page: Page) -> None: function test_should_work_for_multiple (line 238) | async def test_should_work_for_multiple(page: Page) -> None: function test_should_work_for_webkitdirectory (line 246) | async def test_should_work_for_webkitdirectory(page: Page) -> None: function _assert_wheel_event (line 254) | def _assert_wheel_event(expected: Any, received: Any, browser_name: str)... function test_wheel_should_work (line 268) | async def test_wheel_should_work(page: Page, browser_name: str) -> None: function _listen_for_wheel_events (line 295) | async def _listen_for_wheel_events(page: Page, selector: str) -> None: function test_should_upload_large_file (line 318) | async def test_should_upload_large_file( function test_set_input_files_should_preserve_last_modified_timestamp (line 364) | async def test_set_input_files_should_preserve_last_modified_timestamp( function test_should_upload_multiple_large_file (line 384) | async def test_should_upload_multiple_large_file( function test_should_upload_a_folder (line 414) | async def test_should_upload_a_folder( function test_should_upload_a_folder_and_throw_for_multiple_directories (line 464) | async def test_should_upload_a_folder_and_throw_for_multiple_directories( function test_should_throw_if_a_directory_and_files_are_passed (line 480) | async def test_should_throw_if_a_directory_and_files_are_passed( function test_should_throw_when_upload_a_folder_in_a_normal_file_upload_input (line 495) | async def test_should_throw_when_upload_a_folder_in_a_normal_file_upload... FILE: tests/async/test_issues.py function test_issue_189 (line 24) | async def test_issue_189(browser_type: BrowserType, launch_arguments: Di... function test_issue_195 (line 34) | async def test_issue_195(playwright: Playwright, browser: Browser) -> None: function test_connection_task_cancel (line 40) | async def test_connection_task_cancel(page: Page) -> None: FILE: tests/async/test_jshandle.py function test_jshandle_evaluate_work (line 23) | async def test_jshandle_evaluate_work(page: Page) -> None: function test_jshandle_evaluate_accept_object_handle_as_argument (line 31) | async def test_jshandle_evaluate_accept_object_handle_as_argument(page: ... function test_jshandle_evaluate_accept_handle_to_primitive_types (line 37) | async def test_jshandle_evaluate_accept_handle_to_primitive_types(page: ... function test_jshandle_evaluate_accept_nested_handle (line 43) | async def test_jshandle_evaluate_accept_nested_handle(page: Page) -> None: function test_jshandle_evaluate_accept_nested_window_handle (line 49) | async def test_jshandle_evaluate_accept_nested_window_handle(page: Page)... function test_jshandle_evaluate_accept_multiple_nested_handles (line 55) | async def test_jshandle_evaluate_accept_multiple_nested_handles(page: Pa... function test_jshandle_evaluate_should_work_for_circular_objects (line 69) | async def test_jshandle_evaluate_should_work_for_circular_objects(page: ... function test_jshandle_evaluate_accept_same_nested_object_multiple_times (line 78) | async def test_jshandle_evaluate_accept_same_nested_object_multiple_times( function test_jshandle_evaluate_accept_object_handle_to_unserializable_value (line 87) | async def test_jshandle_evaluate_accept_object_handle_to_unserializable_... function test_jshandle_evaluate_pass_configurable_args (line 94) | async def test_jshandle_evaluate_pass_configurable_args(page: Page) -> N... function test_jshandle_properties_get_property (line 112) | async def test_jshandle_properties_get_property(page: Page) -> None: function test_jshandle_properties_work_with_undefined_null_and_empty (line 124) | async def test_jshandle_properties_work_with_undefined_null_and_empty( function test_jshandle_properties_work_with_unserializable_values (line 141) | async def test_jshandle_properties_work_with_unserializable_values(page:... function test_jshandle_properties_get_properties (line 160) | async def test_jshandle_properties_get_properties(page: Page) -> None: function test_jshandle_properties_return_empty_map_for_non_objects (line 168) | async def test_jshandle_properties_return_empty_map_for_non_objects(page... function test_jshandle_json_value_work (line 174) | async def test_jshandle_json_value_work(page: Page) -> None: function test_jshandle_json_value_work_with_dates (line 180) | async def test_jshandle_json_value_work_with_dates(page: Page) -> None: function test_jshandle_json_value_should_work_for_circular_object (line 188) | async def test_jshandle_json_value_should_work_for_circular_object(page:... function test_jshandle_as_element_work (line 198) | async def test_jshandle_as_element_work(page: Page) -> None: function test_jshandle_as_element_return_none_for_non_elements (line 204) | async def test_jshandle_as_element_return_none_for_non_elements(page: Pa... function test_jshandle_to_string_work_for_primitives (line 210) | async def test_jshandle_to_string_work_for_primitives(page: Page) -> None: function test_jshandle_to_string_work_for_complicated_objects (line 217) | async def test_jshandle_to_string_work_for_complicated_objects( function test_jshandle_to_string_work_for_promises (line 227) | async def test_jshandle_to_string_work_for_promises(page: Page) -> None: FILE: tests/async/test_keyboard.py function captureLastKeydown (line 22) | async def captureLastKeydown(page: Page) -> JSHandle: function test_keyboard_type_into_a_textarea (line 48) | async def test_keyboard_type_into_a_textarea(page: Page) -> None: function test_keyboard_move_with_the_arrow_keys (line 61) | async def test_keyboard_move_with_the_arrow_keys(page: Page, server: Ser... function test_keyboard_send_a_character_with_elementhandle_press (line 86) | async def test_keyboard_send_a_character_with_elementhandle_press( function test_should_send_a_character_with_send_character (line 101) | async def test_should_send_a_character_with_send_character( function test_should_only_emit_input_event (line 117) | async def test_should_only_emit_input_event(page: Page, server: Server) ... function test_should_report_shiftkey (line 135) | async def test_should_report_shiftkey( function test_should_report_multiple_modifiers (line 192) | async def test_should_report_multiple_modifiers(page: Page, server: Serv... function test_should_send_proper_codes_while_typing (line 224) | async def test_should_send_proper_codes_while_typing( function test_should_send_proper_codes_while_typing_with_shift (line 246) | async def test_should_send_proper_codes_while_typing_with_shift( function test_should_not_type_canceled_events (line 264) | async def test_should_not_type_canceled_events(page: Page, server: Serve... function test_should_press_plus (line 287) | async def test_should_press_plus(page: Page, server: Server) -> None: function test_should_press_shift_plus (line 299) | async def test_should_press_shift_plus(page: Page, server: Server) -> None: function test_should_support_plus_separated_modifiers (line 313) | async def test_should_support_plus_separated_modifiers( function test_should_suport_multiple_plus_separated_modifiers (line 329) | async def test_should_suport_multiple_plus_separated_modifiers( function test_should_shift_raw_codes (line 346) | async def test_should_shift_raw_codes(page: Page, server: Server) -> None: function test_should_specify_repeat_property (line 360) | async def test_should_specify_repeat_property(page: Page, server: Server... function test_should_type_all_kinds_of_characters (line 379) | async def test_should_type_all_kinds_of_characters(page: Page, server: S... function test_should_specify_location (line 387) | async def test_should_specify_location(page: Page, server: Server) -> None: function test_should_press_enter (line 406) | async def test_should_press_enter(page: Page) -> None: function test_should_throw_unknown_keys (line 426) | async def test_should_throw_unknown_keys(page: Page, server: Server) -> ... function test_should_type_emoji (line 440) | async def test_should_type_emoji(page: Page, server: Server) -> None: function test_should_type_emoji_into_an_iframe (line 449) | async def test_should_type_emoji_into_an_iframe( function test_should_handle_select_all (line 464) | async def test_should_handle_select_all(page: Page, server: Server) -> N... function test_should_be_able_to_prevent_select_all (line 476) | async def test_should_be_able_to_prevent_select_all(page: Page, server: ... function test_should_support_macos_shortcuts (line 503) | async def test_should_support_macos_shortcuts( function test_should_press_the_meta_key (line 518) | async def test_should_press_the_meta_key(page: Page) -> None: function test_should_work_after_a_cross_origin_navigation (line 530) | async def test_should_work_after_a_cross_origin_navigation( function test_should_expose_keyIdentifier_in_webkit (line 542) | async def test_should_expose_keyIdentifier_in_webkit( function test_should_scroll_with_pagedown (line 563) | async def test_should_scroll_with_pagedown(page: Page, server: Server) -... FILE: tests/async/test_launcher.py function test_browser_type_launch_should_reject_all_promises_when_browser_is_closed (line 26) | async def test_browser_type_launch_should_reject_all_promises_when_brows... function test_browser_type_launch_should_throw_if_page_argument_is_passed (line 39) | async def test_browser_type_launch_should_throw_if_page_argument_is_passed( function test_browser_type_launch_should_reject_if_launched_browser_fails_immediately (line 47) | async def test_browser_type_launch_should_reject_if_launched_browser_fai... function test_browser_type_launch_should_reject_if_executable_path_is_invalid (line 57) | async def test_browser_type_launch_should_reject_if_executable_path_is_i... function test_browser_type_executable_path_should_work (line 67) | async def test_browser_type_executable_path_should_work( function test_browser_type_name_should_work (line 77) | async def test_browser_type_name_should_work( function test_browser_close_should_fire_close_event_for_all_contexts (line 90) | async def test_browser_close_should_fire_close_event_for_all_contexts( function test_browser_close_should_be_callable_twice (line 101) | async def test_browser_close_should_be_callable_twice( FILE: tests/async/test_listeners.py function test_listeners (line 19) | async def test_listeners(page: Page, server: Server) -> None: FILE: tests/async/test_locators.py function test_locators_click_should_work (line 31) | async def test_locators_click_should_work(page: Page, server: Server) ->... function test_locators_click_should_work_with_node_removed (line 38) | async def test_locators_click_should_work_with_node_removed( function test_locators_click_should_work_for_text_nodes (line 48) | async def test_locators_click_should_work_for_text_nodes( function test_locators_should_have_repr (line 67) | async def test_locators_should_have_repr(page: Page, server: Server) -> ... function test_locators_get_attribute_should_work (line 77) | async def test_locators_get_attribute_should_work(page: Page, server: Se... function test_locators_input_value_should_work (line 84) | async def test_locators_input_value_should_work(page: Page, server: Serv... function test_locators_inner_html_should_work (line 91) | async def test_locators_inner_html_should_work(page: Page, server: Serve... function test_locators_inner_text_should_work (line 97) | async def test_locators_inner_text_should_work(page: Page, server: Serve... function test_locators_text_content_should_work (line 103) | async def test_locators_text_content_should_work(page: Page, server: Ser... function test_locators_is_hidden_and_is_visible_should_work (line 109) | async def test_locators_is_hidden_and_is_visible_should_work(page: Page)... function test_locators_is_enabled_and_is_disabled_should_work (line 121) | async def test_locators_is_enabled_and_is_disabled_should_work(page: Pag... function test_locators_is_editable_should_work (line 143) | async def test_locators_is_editable_should_work(page: Page) -> None: function test_locators_is_checked_should_work (line 157) | async def test_locators_is_checked_should_work(page: Page) -> None: function test_locators_all_text_contents_should_work (line 170) | async def test_locators_all_text_contents_should_work(page: Page) -> None: function test_locators_all_inner_texts (line 181) | async def test_locators_all_inner_texts(page: Page) -> None: function test_locators_should_query_existing_element (line 192) | async def test_locators_should_query_existing_element( function test_locators_evaluate_handle_should_work (line 207) | async def test_locators_evaluate_handle_should_work(page: Page, server: ... function test_locators_should_query_existing_elements (line 229) | async def test_locators_should_query_existing_elements(page: Page) -> None: function test_locators_return_empty_array_for_non_existing_elements (line 242) | async def test_locators_return_empty_array_for_non_existing_elements( function test_locators_evaluate_all_should_work (line 254) | async def test_locators_evaluate_all_should_work(page: Page) -> None: function test_locators_evaluate_all_should_work_with_missing_selector (line 263) | async def test_locators_evaluate_all_should_work_with_missing_selector( function test_locators_hover_should_work (line 274) | async def test_locators_hover_should_work(page: Page, server: Server) ->... function test_locators_fill_should_work (line 283) | async def test_locators_fill_should_work(page: Page, server: Server) -> ... function test_locators_clear_should_work (line 290) | async def test_locators_clear_should_work(page: Page, server: Server) ->... function test_locators_check_should_work (line 299) | async def test_locators_check_should_work(page: Page) -> None: function test_locators_uncheck_should_work (line 306) | async def test_locators_uncheck_should_work(page: Page) -> None: function test_locators_select_option_should_work (line 313) | async def test_locators_select_option_should_work(page: Page, server: Se... function test_locators_focus_should_work (line 321) | async def test_locators_focus_should_work(page: Page, server: Server) ->... function test_locators_dispatch_event_should_work (line 329) | async def test_locators_dispatch_event_should_work(page: Page, server: S... function test_locators_should_upload_a_file (line 336) | async def test_locators_should_upload_a_file(page: Page, server: Server)... function test_locators_should_press (line 348) | async def test_locators_should_press(page: Page) -> None: function test_locators_should_scroll_into_view (line 354) | async def test_locators_should_scroll_into_view(page: Page, server: Serv... function test_locators_should_select_textarea (line 370) | async def test_locators_should_select_textarea( function test_locators_should_type (line 384) | async def test_locators_should_type(page: Page) -> None: function test_locators_should_press_sequentially (line 390) | async def test_locators_should_press_sequentially(page: Page) -> None: function test_locators_should_screenshot (line 396) | async def test_locators_should_screenshot( function test_locators_should_return_bounding_box (line 413) | async def test_locators_should_return_bounding_box(page: Page, server: S... function test_locators_should_respect_first_and_last (line 431) | async def test_locators_should_respect_first_and_last(page: Page) -> None: function test_locators_should_respect_nth (line 446) | async def test_locators_should_respect_nth(page: Page) -> None: function test_locators_should_throw_on_capture_without_nth (line 460) | async def test_locators_should_throw_on_capture_without_nth(page: Page) ... function test_locators_should_throw_due_to_strictness (line 470) | async def test_locators_should_throw_due_to_strictness(page: Page) -> None: function test_locators_should_throw_due_to_strictness_2 (line 480) | async def test_locators_should_throw_due_to_strictness_2(page: Page) -> ... function test_locators_set_checked (line 490) | async def test_locators_set_checked(page: Page) -> None: function test_locators_wait_for (line 499) | async def test_locators_wait_for(page: Page) -> None: function test_should_wait_for_hidden (line 508) | async def test_should_wait_for_hidden(page: Page) -> None: function test_should_combine_visible_with_other_selectors (line 516) | async def test_should_combine_visible_with_other_selectors(page: Page) -... function test_should_support_filter_visible (line 535) | async def test_should_support_filter_visible(page: Page) -> None: function test_locator_count_should_work_with_deleted_map_in_main_world (line 557) | async def test_locator_count_should_work_with_deleted_map_in_main_world( function test_locator_locator_and_framelocator_locator_should_accept_locator (line 565) | async def test_locator_locator_and_framelocator_locator_should_accept_lo... function route_iframe (line 601) | async def route_iframe(page: Page) -> None: function test_locators_frame_should_work_with_iframe (line 632) | async def test_locators_frame_should_work_with_iframe( function test_locators_frame_should_work_for_nested_iframe (line 643) | async def test_locators_frame_should_work_for_nested_iframe( function test_locators_frame_should_work_with_locator_frame_locator (line 654) | async def test_locators_frame_should_work_with_locator_frame_locator( function test_locator_content_frame_should_work (line 665) | async def test_locator_content_frame_should_work(page: Page, server: Ser... function test_frame_locator_owner_should_work (line 676) | async def test_frame_locator_owner_should_work(page: Page, server: Serve... function route_ambiguous (line 685) | async def route_ambiguous(page: Page) -> None: function test_locator_frame_locator_should_throw_on_ambiguity (line 706) | async def test_locator_frame_locator_should_throw_on_ambiguity( function test_locator_frame_locator_should_not_throw_on_first_last_nth (line 719) | async def test_locator_frame_locator_should_not_throw_on_first_last_nth( function test_drag_to (line 732) | async def test_drag_to(page: Page, server: Server) -> None: function test_drag_to_with_position (line 743) | async def test_drag_to_with_position(page: Page, server: Server) -> None: function test_locator_query_should_filter_by_text (line 786) | async def test_locator_query_should_filter_by_text(page: Page, server: S... function test_locator_query_should_filter_by_text_2 (line 791) | async def test_locator_query_should_filter_by_text_2( function test_locator_query_should_filter_by_regex (line 800) | async def test_locator_query_should_filter_by_regex(page: Page, server: ... function test_locator_query_should_filter_by_text_with_quotes (line 807) | async def test_locator_query_should_filter_by_text_with_quotes( function test_locator_query_should_filter_by_regex_with_quotes (line 816) | async def test_locator_query_should_filter_by_regex_with_quotes( function test_locator_query_should_filter_by_regex_and_regexp_flags (line 825) | async def test_locator_query_should_filter_by_regex_and_regexp_flags( function test_locator_should_return_page (line 834) | async def test_locator_should_return_page(page: Page, server: Server) ->... function test_locator_should_support_has_locator (line 846) | async def test_locator_should_support_has_locator(page: Page, server: Se... function test_locator_should_enforce_same_frame_for_has_locator (line 882) | async def test_locator_should_enforce_same_frame_for_has_locator( function test_locator_should_support_locator_or (line 894) | async def test_locator_should_support_locator_or(page: Page, server: Ser... function test_locator_should_support_locator_locator_with_and_or (line 914) | async def test_locator_should_support_locator_locator_with_and_or(page: ... function test_locator_highlight_should_work (line 943) | async def test_locator_highlight_should_work(page: Page, server: Server)... function test_should_support_locator_that (line 949) | async def test_should_support_locator_that(page: Page) -> None: function test_should_filter_by_case_insensitive_regex_in_a_child (line 979) | async def test_should_filter_by_case_insensitive_regex_in_a_child(page: ... function test_should_filter_by_case_insensitive_regex_in_multiple_children (line 986) | async def test_should_filter_by_case_insensitive_regex_in_multiple_child... function test_should_filter_by_regex_with_special_symbols (line 997) | async def test_should_filter_by_regex_with_special_symbols(page: Page) -... function test_should_support_locator_filter (line 1006) | async def test_should_support_locator_filter(page: Page) -> None: function test_locators_should_support_locator_and (line 1048) | async def test_locators_should_support_locator_and(page: Page, server: S... function test_locators_has_does_not_encode_unicode (line 1073) | async def test_locators_has_does_not_encode_unicode(page: Page, server: ... function test_locators_should_focus_and_blur_a_button (line 1086) | async def test_locators_should_focus_and_blur_a_button( function test_locator_all_should_work (line 1124) | async def test_locator_all_should_work(page: Page) -> None: function test_locator_click_timeout_error_should_contain_call_log (line 1132) | async def test_locator_click_timeout_error_should_contain_call_log(page:... function test_locator_should_ignore_deprecated_is_hidden_and_visible_timeout (line 1148) | async def test_locator_should_ignore_deprecated_is_hidden_and_visible_ti... function test_description_should_return_none_for_locator_without_description (line 1157) | async def test_description_should_return_none_for_locator_without_descri... function test_description_should_return_description_for_locator_with_simple_description (line 1164) | async def test_description_should_return_description_for_locator_with_si... function test_description_should_return_description_with_special_characters (line 1171) | async def test_description_should_return_description_with_special_charac... function test_description_should_return_description_for_chained_locators (line 1178) | async def test_description_should_return_description_for_chained_locators( function test_description_should_return_description_for_locator_with_multiple_describe_calls (line 1185) | async def test_description_should_return_description_for_locator_with_mu... FILE: tests/async/test_navigation.py function test_goto_should_work (line 35) | async def test_goto_should_work(page: Page, server: Server) -> None: function test_goto_should_work_with_file_URL (line 40) | async def test_goto_should_work_with_file_URL(page: Page, assetdir: Path... function test_goto_should_use_http_for_no_protocol (line 47) | async def test_goto_should_use_http_for_no_protocol(page: Page, server: ... function test_goto_should_work_cross_process (line 52) | async def test_goto_should_work_cross_process(page: Page, server: Server... function test_goto_should_capture_iframe_navigation_request (line 73) | async def test_goto_should_capture_iframe_navigation_request( function test_goto_should_capture_cross_process_iframe_navigation_request (line 97) | async def test_goto_should_capture_cross_process_iframe_navigation_request( function test_goto_should_work_with_anchor_navigation (line 121) | async def test_goto_should_work_with_anchor_navigation( function test_goto_should_work_with_redirects (line 132) | async def test_goto_should_work_with_redirects(page: Page, server: Serve... function test_goto_should_navigate_to_about_blank (line 141) | async def test_goto_should_navigate_to_about_blank(page: Page, server: S... function test_goto_should_return_response_when_page_changes_its_url_after_load (line 146) | async def test_goto_should_return_response_when_page_changes_its_url_aft... function test_goto_should_work_with_subframes_return_204 (line 155) | async def test_goto_should_work_with_subframes_return_204( function test_goto_should_fail_when_server_returns_204 (line 167) | async def test_goto_should_fail_when_server_returns_204( function test_goto_should_navigate_to_empty_page_with_domcontentloaded (line 188) | async def test_goto_should_navigate_to_empty_page_with_domcontentloaded( function test_goto_should_work_when_page_calls_history_api_in_beforeunload (line 196) | async def test_goto_should_work_when_page_calls_history_api_in_beforeunl... function test_goto_should_fail_when_navigating_to_bad_url (line 211) | async def test_goto_should_fail_when_navigating_to_bad_url( function test_goto_should_fail_when_navigating_to_bad_ssl (line 222) | async def test_goto_should_fail_when_navigating_to_bad_ssl( function test_goto_should_fail_when_navigating_to_bad_ssl_after_redirects (line 230) | async def test_goto_should_fail_when_navigating_to_bad_ssl_after_redirects( function test_goto_should_not_crash_when_navigating_to_bad_ssl_after_a_cross_origin_navigation (line 240) | async def test_goto_should_not_crash_when_navigating_to_bad_ssl_after_a_... function test_goto_should_throw_if_networkidle2_is_passed_as_an_option (line 248) | async def test_goto_should_throw_if_networkidle2_is_passed_as_an_option( function test_goto_should_fail_when_main_resources_failed_to_load (line 259) | async def test_goto_should_fail_when_main_resources_failed_to_load( function test_goto_should_fail_when_exceeding_maximum_navigation_timeout (line 274) | async def test_goto_should_fail_when_exceeding_maximum_navigation_timeout( function test_goto_should_fail_when_exceeding_default_maximum_navigation_timeout (line 286) | async def test_goto_should_fail_when_exceeding_default_maximum_navigatio... function test_goto_should_fail_when_exceeding_browser_context_navigation_timeout (line 300) | async def test_goto_should_fail_when_exceeding_browser_context_navigatio... function test_goto_should_fail_when_exceeding_default_maximum_timeout (line 313) | async def test_goto_should_fail_when_exceeding_default_maximum_timeout( function test_goto_should_fail_when_exceeding_browser_context_timeout (line 327) | async def test_goto_should_fail_when_exceeding_browser_context_timeout( function test_goto_should_prioritize_default_navigation_timeout_over_default_timeout (line 340) | async def test_goto_should_prioritize_default_navigation_timeout_over_de... function test_goto_should_disable_timeout_when_its_set_to_0 (line 354) | async def test_goto_should_disable_timeout_when_its_set_to_0( function test_goto_should_work_when_navigating_to_valid_url (line 363) | async def test_goto_should_work_when_navigating_to_valid_url( function test_goto_should_work_when_navigating_to_data_url (line 371) | async def test_goto_should_work_when_navigating_to_data_url( function test_goto_should_work_when_navigating_to_404 (line 378) | async def test_goto_should_work_when_navigating_to_404( function test_goto_should_return_last_response_in_redirect_chain (line 387) | async def test_goto_should_return_last_response_in_redirect_chain( function test_goto_should_navigate_to_data_url_and_not_fire_dataURL_requests (line 399) | async def test_goto_should_navigate_to_data_url_and_not_fire_dataURL_req... function test_goto_should_navigate_to_url_with_hash_and_fire_requests_without_hash (line 410) | async def test_goto_should_navigate_to_url_with_hash_and_fire_requests_w... function test_goto_should_work_with_self_requesting_page (line 423) | async def test_goto_should_work_with_self_requesting_page( function test_goto_should_fail_when_navigating_and_show_the_url_at_the_error_message (line 432) | async def test_goto_should_fail_when_navigating_and_show_the_url_at_the_... function test_goto_should_be_able_to_navigate_to_a_page_controlled_by_service_worker (line 441) | async def test_goto_should_be_able_to_navigate_to_a_page_controlled_by_s... function test_goto_should_send_referer (line 449) | async def test_goto_should_send_referer(page: Page, server: Server) -> N... function test_goto_should_reject_referer_option_when_set_extra_http_headers_provides_referer (line 461) | async def test_goto_should_reject_referer_option_when_set_extra_http_hea... function test_goto_should_work_with_commit (line 473) | async def test_goto_should_work_with_commit(page: Page, server: Server) ... function test_network_idle_should_navigate_to_empty_page_with_networkidle (line 478) | async def test_network_idle_should_navigate_to_empty_page_with_networkidle( function test_wait_for_nav_should_work (line 486) | async def test_wait_for_nav_should_work(page: Page, server: Server) -> N... function test_wait_for_nav_should_respect_timeout (line 497) | async def test_wait_for_nav_should_respect_timeout(page: Page, server: S... function test_wait_for_nav_should_work_with_both_domcontentloaded_and_load (line 504) | async def test_wait_for_nav_should_work_with_both_domcontentloaded_and_l... function test_wait_for_nav_should_work_with_clicking_on_anchor_links (line 514) | async def test_wait_for_nav_should_work_with_clicking_on_anchor_links( function test_wait_for_nav_should_work_with_clicking_on_links_which_do_not_commit_navigation (line 526) | async def test_wait_for_nav_should_work_with_clicking_on_links_which_do_... function test_wait_for_nav_should_work_with_history_push_state (line 537) | async def test_wait_for_nav_should_work_with_history_push_state( function test_wait_for_nav_should_work_with_history_replace_state (line 556) | async def test_wait_for_nav_should_work_with_history_replace_state( function test_wait_for_nav_should_work_with_dom_history_back_forward (line 575) | async def test_wait_for_nav_should_work_with_dom_history_back_forward( function test_wait_for_nav_should_work_when_subframe_issues_window_stop (line 607) | async def test_wait_for_nav_should_work_when_subframe_issues_window_stop( function test_wait_for_nav_should_work_with_url_match (line 635) | async def test_wait_for_nav_should_work_with_url_match( function test_wait_for_nav_should_work_with_url_match_for_same_document_navigations (line 678) | async def test_wait_for_nav_should_work_with_url_match_for_same_document... function test_wait_for_nav_should_work_for_cross_process_navigations (line 692) | async def test_wait_for_nav_should_work_for_cross_process_navigations( function test_expect_navigation_should_work_for_cross_process_navigations (line 705) | async def test_expect_navigation_should_work_for_cross_process_navigations( function test_wait_for_nav_should_work_with_commit (line 719) | async def test_wait_for_nav_should_work_with_commit(page: Page, server: ... function test_wait_for_load_state_should_respect_timeout (line 730) | async def test_wait_for_load_state_should_respect_timeout( function test_wait_for_load_state_should_resolve_immediately_if_loaded (line 746) | async def test_wait_for_load_state_should_resolve_immediately_if_loaded( function test_wait_for_load_state_should_throw_for_bad_state (line 753) | async def test_wait_for_load_state_should_throw_for_bad_state( function test_wait_for_load_state_should_resolve_immediately_if_load_state_matches (line 765) | async def test_wait_for_load_state_should_resolve_immediately_if_load_st... function test_wait_for_load_state_networkidle (line 781) | async def test_wait_for_load_state_networkidle(page: Page, server: Serve... function test_wait_for_load_state_should_work_with_pages_that_have_loaded_before_being_connected_to (line 789) | async def test_wait_for_load_state_should_work_with_pages_that_have_load... function test_wait_for_load_state_should_wait_for_load_state_of_empty_url_popup (line 803) | async def test_wait_for_load_state_should_wait_for_load_state_of_empty_u... function test_wait_for_load_state_should_wait_for_load_state_of_about_blank_popup_ (line 823) | async def test_wait_for_load_state_should_wait_for_load_state_of_about_b... function test_wait_for_load_state_should_wait_for_load_state_of_about_blank_popup_with_noopener (line 833) | async def test_wait_for_load_state_should_wait_for_load_state_of_about_b... function test_wait_for_load_state_should_wait_for_load_state_of_popup_with_network_url_ (line 844) | async def test_wait_for_load_state_should_wait_for_load_state_of_popup_w... function test_wait_for_load_state_should_wait_for_load_state_of_popup_with_network_url_and_noopener_ (line 856) | async def test_wait_for_load_state_should_wait_for_load_state_of_popup_w... function test_wait_for_load_state_should_work_with_clicking_target__blank (line 870) | async def test_wait_for_load_state_should_work_with_clicking_target__blank( function test_wait_for_load_state_should_wait_for_load_state_of_new_page (line 884) | async def test_wait_for_load_state_should_wait_for_load_state_of_new_page( function test_wait_for_load_state_in_popup (line 894) | async def test_wait_for_load_state_in_popup( function test_go_back_should_work (line 918) | async def test_go_back_should_work(page: Page, server: Server) -> None: function test_go_back_should_work_with_history_api (line 938) | async def test_go_back_should_work_with_history_api(page: Page, server: ... function test_frame_goto_should_navigate_subframes (line 956) | async def test_frame_goto_should_navigate_subframes(page: Page, server: ... function test_frame_goto_should_reject_when_frame_detaches (line 967) | async def test_frame_goto_should_reject_when_frame_detaches( function test_frame_goto_should_continue_after_client_redirect (line 992) | async def test_frame_goto_should_continue_after_client_redirect( function test_frame_wait_for_nav_should_work (line 1007) | async def test_frame_wait_for_nav_should_work(page: Page, server: Server... function test_frame_wait_for_nav_should_fail_when_frame_detaches (line 1021) | async def test_frame_wait_for_nav_should_fail_when_frame_detaches( function test_frame_wait_for_load_state_should_work (line 1047) | async def test_frame_wait_for_load_state_should_work( function test_reload_should_work (line 1069) | async def test_reload_should_work(page: Page, server: Server) -> None: function test_reload_should_work_with_data_url (line 1076) | async def test_reload_should_work_with_data_url(page: Page, server: Serv... function test_should_work_with__blank_target (line 1083) | async def test_should_work_with__blank_target(page: Page, server: Server... function test_should_work_with_cross_process__blank_target (line 1096) | async def test_should_work_with_cross_process__blank_target( function expect_ssl_error (line 1111) | def expect_ssl_error(error_message: str, browser_name: str) -> None: FILE: tests/async/test_network.py function adjust_server_headers (line 30) | def adjust_server_headers(headers: Dict[str, str], browser_name: str) ->... function test_request_fulfill (line 38) | async def test_request_fulfill(page: Page, server: Server) -> None: function test_request_continue (line 72) | async def test_request_continue(page: Page, server: Server) -> None: function test_page_events_request_should_fire_for_navigation_requests (line 94) | async def test_page_events_request_should_fire_for_navigation_requests( function test_page_events_request_should_accept_method (line 103) | async def test_page_events_request_should_accept_method( function test_page_events_request_should_fire_for_iframes (line 119) | async def test_page_events_request_should_fire_for_iframes( function test_page_events_request_should_fire_for_fetches (line 129) | async def test_page_events_request_should_fire_for_fetches( function test_page_events_request_should_report_requests_and_responses_handled_by_service_worker (line 139) | async def test_page_events_request_should_report_requests_and_responses_... function test_request_frame_should_work_for_main_frame_navigation_request (line 156) | async def test_request_frame_should_work_for_main_frame_navigation_request( function test_request_frame_should_work_for_subframe_navigation_request (line 166) | async def test_request_frame_should_work_for_subframe_navigation_request( function test_request_frame_should_work_for_fetch_requests (line 177) | async def test_request_frame_should_work_for_fetch_requests( function test_request_headers_should_work (line 189) | async def test_request_headers_should_work( function test_request_headers_should_get_the_same_headers_as_the_server (line 202) | async def test_request_headers_should_get_the_same_headers_as_the_server( function test_request_headers_should_get_the_same_headers_as_the_server_cors (line 231) | async def test_request_headers_should_get_the_same_headers_as_the_server... function test_should_report_request_headers_array (line 268) | async def test_should_report_request_headers_array( function test_should_report_response_headers_array (line 320) | async def test_should_report_response_headers_array( function test_response_headers_should_work (line 365) | async def test_response_headers_should_work(page: Page, server: Server) ... function test_request_post_data_should_work (line 374) | async def test_request_post_data_should_work(page: Page, server: Server)... function test_request_post_data__should_be_undefined_when_there_is_no_post_data (line 386) | async def test_request_post_data__should_be_undefined_when_there_is_no_p... function test_should_parse_the_json_post_data (line 394) | async def test_should_parse_the_json_post_data(page: Page, server: Serve... function test_should_parse_the_data_if_content_type_is_form_urlencoded (line 406) | async def test_should_parse_the_data_if_content_type_is_form_urlencoded( function test_should_be_undefined_when_there_is_no_post_data (line 421) | async def test_should_be_undefined_when_there_is_no_post_data( function test_should_return_post_data_without_content_type (line 429) | async def test_should_return_post_data_without_content_type( function test_should_throw_on_invalid_json_in_post_data (line 449) | async def test_should_throw_on_invalid_json_in_post_data( function test_should_work_with_binary_post_data (line 471) | async def test_should_work_with_binary_post_data(page: Page, server: Ser... function test_should_work_with_binary_post_data_and_interception (line 488) | async def test_should_work_with_binary_post_data_and_interception( function test_response_text_should_work (line 508) | async def test_response_text_should_work(page: Page, server: Server) -> ... function test_response_text_should_return_uncompressed_text (line 514) | async def test_response_text_should_return_uncompressed_text( function test_response_text_should_throw_when_requesting_body_of_redirected_response (line 524) | async def test_response_text_should_throw_when_requesting_body_of_redire... function test_response_json_should_work (line 544) | async def test_response_json_should_work(page: Page, server: Server) -> ... function test_response_body_should_work (line 550) | async def test_response_body_should_work( function test_response_body_should_work_with_compression (line 562) | async def test_response_body_should_work_with_compression( function test_response_status_text_should_work (line 575) | async def test_response_status_text_should_work(page: Page, server: Serv... function test_request_resource_type_should_return_event_source (line 583) | async def test_request_resource_type_should_return_event_source( function test_network_events_request (line 619) | async def test_network_events_request(page: Page, server: Server) -> None: function test_network_events_response (line 632) | async def test_network_events_response(page: Page, server: Server) -> None: function test_network_events_request_failed (line 643) | async def test_network_events_request_failed( function test_network_events_request_finished (line 685) | async def test_network_events_request_finished(page: Page, server: Serve... function test_network_events_should_fire_events_in_proper_order (line 695) | async def test_network_events_should_fire_events_in_proper_order( function test_network_events_should_support_redirects (line 708) | async def test_network_events_should_support_redirects( function test_request_is_navigation_request_should_work (line 750) | async def test_request_is_navigation_request_should_work( function test_request_is_navigation_request_should_work_when_navigating_to_image (line 768) | async def test_request_is_navigation_request_should_work_when_navigating... function test_set_extra_http_headers_should_work (line 777) | async def test_set_extra_http_headers_should_work(page: Page, server: Se... function test_set_extra_http_headers_should_work_with_redirects (line 789) | async def test_set_extra_http_headers_should_work_with_redirects( function test_set_extra_http_headers_should_work_with_extra_headers_from_browser_context (line 804) | async def test_set_extra_http_headers_should_work_with_extra_headers_fro... function test_set_extra_http_headers_should_override_extra_headers_from_browser_context (line 821) | async def test_set_extra_http_headers_should_override_extra_headers_from... function test_set_extra_http_headers_should_throw_for_non_string_header_values (line 840) | async def test_set_extra_http_headers_should_throw_for_non_string_header... function test_response_server_addr (line 855) | async def test_response_server_addr(page: Page, server: Server) -> None: function test_response_security_details (line 864) | async def test_response_security_details( function test_response_security_details_none_without_https (line 903) | async def test_response_security_details_none_without_https( function test_should_report_if_request_was_from_service_worker (line 912) | async def test_should_report_if_request_was_from_service_worker( FILE: tests/async/test_page.py function test_close_should_reject_all_promises (line 35) | async def test_close_should_reject_all_promises(context: BrowserContext)... function test_closed_should_not_visible_in_context_pages (line 44) | async def test_closed_should_not_visible_in_context_pages( function test_close_should_run_beforeunload_if_asked_for (line 53) | async def test_close_should_run_beforeunload_if_asked_for( function test_close_should_not_run_beforeunload_by_default (line 81) | async def test_close_should_not_run_beforeunload_by_default( function test_should_be_able_to_navigate_away_from_page_with_before_unload (line 92) | async def test_should_be_able_to_navigate_away_from_page_with_before_unl... function test_close_should_set_the_page_close_state (line 102) | async def test_close_should_set_the_page_close_state(context: BrowserCon... function test_close_should_terminate_network_waiters (line 109) | async def test_close_should_terminate_network_waiters( function test_close_should_be_callable_twice (line 136) | async def test_close_should_be_callable_twice(context: BrowserContext) -... function test_load_should_fire_when_expected (line 145) | async def test_load_should_fire_when_expected(page: Page) -> None: function test_should_work_with_wait_for_loadstate (line 151) | async def test_should_work_with_wait_for_loadstate(page: Page, server: S... function test_async_stacks_should_work (line 184) | async def test_async_stacks_should_work(page: Page, server: Server) -> N... function test_opener_should_provide_access_to_the_opener_page (line 194) | async def test_opener_should_provide_access_to_the_opener_page(page: Pag... function test_opener_should_return_null_if_parent_page_has_been_closed (line 202) | async def test_opener_should_return_null_if_parent_page_has_been_closed( function test_domcontentloaded_should_fire_when_expected (line 213) | async def test_domcontentloaded_should_fire_when_expected( function test_wait_for_request (line 222) | async def test_wait_for_request(page: Page, server: Server) -> None: function test_wait_for_request_should_work_with_predicate (line 236) | async def test_wait_for_request_should_work_with_predicate( function test_wait_for_request_should_timeout (line 254) | async def test_wait_for_request_should_timeout(page: Page, server: Serve... function test_wait_for_request_should_respect_default_timeout (line 261) | async def test_wait_for_request_should_respect_default_timeout( function test_wait_for_request_should_work_with_no_timeout (line 271) | async def test_wait_for_request_should_work_with_no_timeout( function test_wait_for_request_should_work_with_url_match (line 289) | async def test_wait_for_request_should_work_with_url_match( function test_wait_for_event_should_fail_with_error_upon_disconnect (line 299) | async def test_wait_for_event_should_fail_with_error_upon_disconnect( function test_wait_for_response_should_work (line 308) | async def test_wait_for_response_should_work(page: Page, server: Server)... function test_wait_for_response_should_respect_timeout (line 322) | async def test_wait_for_response_should_respect_timeout(page: Page) -> N... function test_wait_for_response_should_respect_default_timeout (line 329) | async def test_wait_for_response_should_respect_default_timeout(page: Pa... function test_wait_for_response_should_work_with_predicate (line 337) | async def test_wait_for_response_should_work_with_predicate( function test_wait_for_response_should_work_with_no_timeout (line 355) | async def test_wait_for_response_should_work_with_no_timeout( function test_wait_for_response_should_use_context_timeout (line 371) | async def test_wait_for_response_should_use_context_timeout( function test_expect_response_should_not_hang_when_predicate_throws (line 384) | async def test_expect_response_should_not_hang_when_predicate_throws( function test_expose_binding (line 392) | async def test_expose_binding(page: Page) -> None: function test_expose_function (line 409) | async def test_expose_function(page: Page, server: Server) -> None: function test_expose_function_should_throw_exception_in_page_context (line 415) | async def test_expose_function_should_throw_exception_in_page_context( function test_expose_function_should_be_callable_from_inside_add_init_script (line 435) | async def test_expose_function_should_be_callable_from_inside_add_init_s... function test_expose_function_should_survive_navigation (line 445) | async def test_expose_function_should_survive_navigation( function test_expose_function_should_await_returned_promise (line 454) | async def test_expose_function_should_await_returned_promise(page: Page)... function test_expose_function_should_work_on_frames (line 462) | async def test_expose_function_should_work_on_frames( function test_expose_function_should_work_on_frames_before_navigation (line 471) | async def test_expose_function_should_work_on_frames_before_navigation( function test_expose_function_should_work_after_cross_origin_navigation (line 480) | async def test_expose_function_should_work_after_cross_origin_navigation( function test_expose_function_should_work_with_complex_objects (line 489) | async def test_expose_function_should_work_with_complex_objects( function test_expose_bindinghandle_should_work (line 497) | async def test_expose_bindinghandle_should_work(page: Page, server: Serv... function test_page_error_should_fire (line 510) | async def test_page_error_should_fire( function test_page_error_should_handle_odd_values (line 549) | async def test_page_error_should_handle_odd_values(page: Page) -> None: function test_page_error_should_handle_object (line 558) | async def test_page_error_should_handle_object(page: Page, is_chromium: ... function test_page_error_should_handle_window (line 565) | async def test_page_error_should_handle_window(page: Page, is_chromium: ... function test_page_error_should_pass_error_name_property (line 572) | async def test_page_error_should_pass_error_name_property(page: Page) ->... function test_set_content_should_work (line 590) | async def test_set_content_should_work(page: Page, server: Server) -> None: function test_set_content_should_work_with_domcontentloaded (line 596) | async def test_set_content_should_work_with_domcontentloaded( function test_set_content_should_work_with_doctype (line 604) | async def test_set_content_should_work_with_doctype(page: Page, server: ... function test_set_content_should_work_with_HTML_4_doctype (line 611) | async def test_set_content_should_work_with_HTML_4_doctype( function test_set_content_should_respect_timeout (line 620) | async def test_set_content_should_respect_timeout(page: Page, server: Se... function test_set_content_should_respect_default_navigation_timeout (line 631) | async def test_set_content_should_respect_default_navigation_timeout( function test_set_content_should_await_resources_to_load (line 645) | async def test_set_content_should_await_resources_to_load( function test_set_content_should_work_with_tricky_content (line 664) | async def test_set_content_should_work_with_tricky_content(page: Page) -... function test_set_content_should_work_with_accents (line 669) | async def test_set_content_should_work_with_accents(page: Page) -> None: function test_set_content_should_work_with_emojis (line 674) | async def test_set_content_should_work_with_emojis(page: Page) -> None: function test_set_content_should_work_with_newline (line 679) | async def test_set_content_should_work_with_newline(page: Page) -> None: function test_add_script_tag_should_work_with_a_url (line 684) | async def test_add_script_tag_should_work_with_a_url( function test_add_script_tag_should_work_with_a_url_and_type_module (line 693) | async def test_add_script_tag_should_work_with_a_url_and_type_module( function test_add_script_tag_should_work_with_a_path_and_type_module (line 701) | async def test_add_script_tag_should_work_with_a_path_and_type_module( function test_add_script_tag_should_work_with_a_content_and_type_module (line 710) | async def test_add_script_tag_should_work_with_a_content_and_type_module( function test_add_script_tag_should_throw_an_error_if_loading_from_url_fail (line 722) | async def test_add_script_tag_should_throw_an_error_if_loading_from_url_... function test_add_script_tag_should_work_with_a_path (line 731) | async def test_add_script_tag_should_work_with_a_path( function test_add_script_tag_should_include_source_url_when_path_is_provided (line 741) | async def test_add_script_tag_should_include_source_url_when_path_is_pro... function test_add_script_tag_should_work_with_content (line 751) | async def test_add_script_tag_should_work_with_content( function test_add_script_tag_should_throw_when_added_with_content_to_the_csp_page (line 761) | async def test_add_script_tag_should_throw_when_added_with_content_to_th... function test_add_script_tag_should_throw_when_added_with_URL_to_the_csp_page (line 771) | async def test_add_script_tag_should_throw_when_added_with_URL_to_the_cs... function test_add_script_tag_should_throw_a_nice_error_when_the_request_fails (line 780) | async def test_add_script_tag_should_throw_a_nice_error_when_the_request... function test_add_style_tag_should_work_with_a_url (line 790) | async def test_add_style_tag_should_work_with_a_url(page: Page, server: ... function test_add_style_tag_should_throw_an_error_if_loading_from_url_fail (line 802) | async def test_add_style_tag_should_throw_an_error_if_loading_from_url_f... function test_add_style_tag_should_work_with_a_path (line 811) | async def test_add_style_tag_should_work_with_a_path( function test_add_style_tag_should_include_source_url_when_path_is_provided (line 825) | async def test_add_style_tag_should_include_source_url_when_path_is_prov... function test_add_style_tag_should_work_with_content (line 835) | async def test_add_style_tag_should_work_with_content( function test_add_style_tag_should_throw_when_added_with_content_to_the_CSP_page (line 849) | async def test_add_style_tag_should_throw_when_added_with_content_to_the... function test_add_style_tag_should_throw_when_added_with_URL_to_the_CSP_page (line 858) | async def test_add_style_tag_should_throw_when_added_with_URL_to_the_CSP... function test_url_should_work (line 867) | async def test_url_should_work(page: Page, server: Server) -> None: function test_url_should_include_hashes (line 873) | async def test_url_should_include_hashes(page: Page, server: Server) -> ... function test_title_should_return_the_page_title (line 880) | async def test_title_should_return_the_page_title(page: Page, server: Se... function give_it_a_chance_to_fill (line 885) | async def give_it_a_chance_to_fill(page: Page) -> None: function test_fill_should_fill_textarea (line 892) | async def test_fill_should_fill_textarea(page: Page, server: Server) -> ... function test_fill_should_fill_input (line 898) | async def test_fill_should_fill_input(page: Page, server: Server) -> None: function test_fill_should_throw_on_unsupported_inputs (line 904) | async def test_fill_should_throw_on_unsupported_inputs( function test_fill_should_fill_different_input_types (line 925) | async def test_fill_should_fill_different_input_types( function test_fill_should_fill_date_input_after_clicking (line 937) | async def test_fill_should_fill_date_input_after_clicking( function test_fill_should_throw_on_incorrect_date (line 947) | async def test_fill_should_throw_on_incorrect_date(page: Page, server: S... function test_fill_should_fill_time_input (line 955) | async def test_fill_should_fill_time_input(page: Page, server: Server) -... function test_fill_should_throw_on_incorrect_time (line 962) | async def test_fill_should_throw_on_incorrect_time(page: Page, server: S... function test_fill_should_fill_datetime_local_input (line 970) | async def test_fill_should_fill_datetime_local_input( function test_fill_should_throw_on_incorrect_datetime_local (line 982) | async def test_fill_should_throw_on_incorrect_datetime_local(page: Page)... function test_fill_should_fill_contenteditable (line 989) | async def test_fill_should_fill_contenteditable(page: Page, server: Serv... function test_fill_should_fill_elements_with_existing_value_and_selection (line 998) | async def test_fill_should_fill_elements_with_existing_value_and_selection( function test_fill_should_throw_when_element_is_not_an_input_textarea_or_contenteditable (line 1037) | async def test_fill_should_throw_when_element_is_not_an_input_textarea_o... function test_fill_should_throw_if_passed_a_non_string_value (line 1046) | async def test_fill_should_throw_if_passed_a_non_string_value( function test_fill_should_retry_on_disabled_element (line 1055) | async def test_fill_should_retry_on_disabled_element( function test_fill_should_retry_on_readonly_element (line 1076) | async def test_fill_should_retry_on_readonly_element( function test_fill_should_retry_on_invisible_element (line 1097) | async def test_fill_should_retry_on_invisible_element( function test_fill_should_be_able_to_fill_the_body (line 1118) | async def test_fill_should_be_able_to_fill_the_body(page: Page) -> None: function test_fill_should_fill_fixed_position_input (line 1124) | async def test_fill_should_fill_fixed_position_input(page: Page) -> None: function test_fill_should_be_able_to_fill_when_focus_is_in_the_wrong_frame (line 1130) | async def test_fill_should_be_able_to_fill_when_focus_is_in_the_wrong_fr... function test_fill_should_be_able_to_fill_the_input_type_number_ (line 1144) | async def test_fill_should_be_able_to_fill_the_input_type_number_(page: ... function test_fill_should_be_able_to_fill_exponent_into_the_input_type_number_ (line 1150) | async def test_fill_should_be_able_to_fill_exponent_into_the_input_type_... function test_fill_should_be_able_to_fill_input_type_number__with_empty_string (line 1158) | async def test_fill_should_be_able_to_fill_input_type_number__with_empty... function test_fill_should_not_be_able_to_fill_text_into_the_input_type_number_ (line 1166) | async def test_fill_should_not_be_able_to_fill_text_into_the_input_type_... function test_fill_should_be_able_to_clear_using_fill (line 1175) | async def test_fill_should_be_able_to_clear_using_fill( function test_close_event_should_work_with_window_close (line 1185) | async def test_close_event_should_work_with_window_close( function test_close_event_should_work_with_page_close (line 1196) | async def test_close_event_should_work_with_page_close( function test_page_context_should_return_the_correct_browser_instance (line 1204) | async def test_page_context_should_return_the_correct_browser_instance( function test_frame_should_respect_name (line 1210) | async def test_frame_should_respect_name(page: Page, server: Server) -> ... function test_frame_should_respect_url (line 1218) | async def test_frame_should_respect_url(page: Page, server: Server) -> N... function test_press_should_work (line 1224) | async def test_press_should_work(page: Page, server: Server) -> None: function test_frame_press_should_work (line 1230) | async def test_frame_press_should_work(page: Page, server: Server) -> None: function test_should_emulate_reduced_motion (line 1240) | async def test_should_emulate_reduced_motion(page: Page, server: Server)... function test_input_value (line 1258) | async def test_input_value(page: Page, server: Server) -> None: function test_drag_and_drop_helper_method (line 1268) | async def test_drag_and_drop_helper_method(page: Page, server: Server) -... function test_drag_and_drop_with_position (line 1279) | async def test_drag_and_drop_with_position(page: Page, server: Server) -... function test_drag_and_drop_with_tweened_mouse_movement (line 1323) | async def test_drag_and_drop_with_tweened_mouse_movement(page: Page) -> ... function test_locator_drag_to_with_tweened_mouse_movement (line 1373) | async def test_locator_drag_to_with_tweened_mouse_movement(page: Page) -... function test_should_check_box_using_set_checked (line 1423) | async def test_should_check_box_using_set_checked(page: Page) -> None: function test_should_set_bodysize_and_headersize (line 1431) | async def test_should_set_bodysize_and_headersize(page: Page, server: Se... function test_should_set_bodysize_to_0 (line 1443) | async def test_should_set_bodysize_to_0(page: Page, server: Server) -> N... function test_should_emulate_forced_colors (line 1453) | async def test_should_emulate_forced_colors(page: Page) -> None: function test_should_emulate_contrast (line 1463) | async def test_should_emulate_contrast(page: Page) -> None: function test_should_not_throw_when_continuing_while_page_is_closing (line 1483) | async def test_should_not_throw_when_continuing_while_page_is_closing( function test_should_not_throw_when_continuing_after_page_is_closed (line 1498) | async def test_should_not_throw_when_continuing_after_page_is_closed( function test_expose_binding_should_serialize_cycles (line 1514) | async def test_expose_binding_should_serialize_cycles(page: Page) -> None: function test_page_pause_should_reset_default_timeouts (line 1525) | async def test_page_pause_should_reset_default_timeouts( function test_page_pause_should_reset_custom_timeouts (line 1537) | async def test_page_pause_should_reset_custom_timeouts( function test_page_should_ignore_deprecated_is_hidden_and_visible_timeout (line 1555) | async def test_page_should_ignore_deprecated_is_hidden_and_visible_timeout( FILE: tests/async/test_page_add_locator_handler.py function test_should_work (line 24) | async def test_should_work(page: Page, server: Server) -> None: function test_should_work_with_a_custom_check (line 69) | async def test_should_work_with_a_custom_check(page: Page, server: Serve... function test_should_work_with_locator_hover (line 94) | async def test_should_work_with_locator_hover(page: Page, server: Server... function test_should_not_work_with_force_true (line 116) | async def test_should_not_work_with_force_true(page: Page, server: Serve... function test_should_throw_when_page_closes (line 131) | async def test_should_throw_when_page_closes(page: Page, server: Server)... function test_should_throw_when_handler_times_out (line 147) | async def test_should_throw_when_handler_times_out(page: Page, server: S... function test_should_work_with_to_be_visible (line 180) | async def test_should_work_with_to_be_visible(page: Page, server: Server... function test_should_work_when_owner_frame_detaches (line 202) | async def test_should_work_when_owner_frame_detaches( function test_should_work_with_times_option (line 236) | async def test_should_work_with_times_option(page: Page, server: Server)... function test_should_wait_for_hidden_by_default (line 268) | async def test_should_wait_for_hidden_by_default(page: Page, server: Ser... function test_should_wait_for_hidden_by_default_2 (line 293) | async def test_should_wait_for_hidden_by_default_2(page: Page, server: S... function test_should_work_with_noWaitAfter (line 322) | async def test_should_work_with_noWaitAfter(page: Page, server: Server) ... function test_should_removeLocatorHandler (line 352) | async def test_should_removeLocatorHandler(page: Page, server: Server) -... FILE: tests/async/test_page_aria_snapshot.py function _unshift (line 22) | def _unshift(snapshot: str) -> str: function check_and_match_snapshot (line 36) | async def check_and_match_snapshot(locator: Locator, snapshot: str) -> N... function test_should_snapshot (line 41) | async def test_should_snapshot(page: Page) -> None: function test_should_snapshot_list (line 51) | async def test_should_snapshot_list(page: Page) -> None: function test_should_snapshot_list_with_list (line 62) | async def test_should_snapshot_list_with_list(page: Page) -> None: function test_should_snapshot_list_with_accessible_name (line 74) | async def test_should_snapshot_list_with_accessible_name(page: Page) -> ... function test_should_snapshot_complex (line 86) | async def test_should_snapshot_complex(page: Page) -> None: function test_should_snapshot_with_unexpected_children_equal (line 99) | async def test_should_snapshot_with_unexpected_children_equal(page: Page... function test_should_snapshot_with_unexpected_children_deep_equal (line 128) | async def test_should_snapshot_with_unexpected_children_deep_equal(page:... function test_should_snapshot_with_restored_contain_mode_inside_deep_equal (line 171) | async def test_should_snapshot_with_restored_contain_mode_inside_deep_eq... function test_match_values_both_against_regex_and_string (line 209) | async def test_match_values_both_against_regex_and_string(page: Page) ->... FILE: tests/async/test_page_base_url.py function test_should_construct_a_new_url_when_a_base_url_in_browser_new_context_is_passed (line 23) | async def test_should_construct_a_new_url_when_a_base_url_in_browser_new... function test_should_construct_a_new_url_when_a_base_url_in_browser_new_page_is_passed (line 32) | async def test_should_construct_a_new_url_when_a_base_url_in_browser_new... function test_should_construct_a_new_url_when_a_base_url_in_browser_new_persistent_context_is_passed (line 40) | async def test_should_construct_a_new_url_when_a_base_url_in_browser_new... function test_should_construct_correctly_when_a_baseurl_without_a_trailing_slash_is_passed (line 51) | async def test_should_construct_correctly_when_a_baseurl_without_a_trail... function test_should_construct_correctly_when_a_baseurl_with_a_trailing_slash_is_passed (line 63) | async def test_should_construct_correctly_when_a_baseurl_with_a_trailing... function test_should_not_construct_a_new_url_when_valid_urls_are_passed (line 79) | async def test_should_not_construct_a_new_url_when_valid_urls_are_passed( function test_should_be_able_to_match_a_url_relative_to_its_given_url_with_urlmatcher (line 96) | async def test_should_be_able_to_match_a_url_relative_to_its_given_url_w... FILE: tests/async/test_page_clock.py function calls (line 26) | async def calls(page: Page) -> List[Any]: class TestRunFor (line 32) | class TestRunFor: method before_each (line 34) | async def before_each(self, page: Page) -> AsyncGenerator[None, None]: method test_run_for_triggers_immediately_without_specified_delay (line 39) | async def test_run_for_triggers_immediately_without_specified_delay( method test_run_for_does_not_trigger_without_sufficient_delay (line 46) | async def test_run_for_does_not_trigger_without_sufficient_delay( method test_run_for_triggers_after_sufficient_delay (line 53) | async def test_run_for_triggers_after_sufficient_delay( method test_run_for_triggers_simultaneous_timers (line 60) | async def test_run_for_triggers_simultaneous_timers( method test_run_for_triggers_multiple_simultaneous_timers (line 69) | async def test_run_for_triggers_multiple_simultaneous_timers( method test_run_for_waits_after_setTimeout_was_called (line 78) | async def test_run_for_waits_after_setTimeout_was_called( method test_run_for_triggers_event_when_some_throw (line 87) | async def test_run_for_triggers_event_when_some_throw( method test_run_for_creates_updated_Date_while_ticking (line 97) | async def test_run_for_creates_updated_Date_while_ticking( method test_run_for_passes_8_seconds (line 118) | async def test_run_for_passes_8_seconds(self, page: Page, calls: List[... method test_run_for_passes_1_minute (line 123) | async def test_run_for_passes_1_minute(self, page: Page, calls: List[A... method test_run_for_passes_2_hours_34_minutes_and_10_seconds (line 128) | async def test_run_for_passes_2_hours_34_minutes_and_10_seconds( method test_run_for_throws_for_invalid_format (line 135) | async def test_run_for_throws_for_invalid_format( method test_run_for_returns_the_current_now_value (line 143) | async def test_run_for_returns_the_current_now_value(self, page: Page)... class TestFastForward (line 150) | class TestFastForward: method before_each (line 152) | async def before_each(self, page: Page) -> AsyncGenerator[None, None]: method test_ignores_timers_which_wouldnt_be_run (line 157) | async def test_ignores_timers_which_wouldnt_be_run( method test_pushes_back_execution_time_for_skipped_timers (line 166) | async def test_pushes_back_execution_time_for_skipped_timers( method test_supports_string_time_arguments (line 173) | async def test_supports_string_time_arguments( class TestStubTimers (line 183) | class TestStubTimers: method before_each (line 185) | async def before_each(self, page: Page) -> AsyncGenerator[None, None]: method test_sets_initial_timestamp (line 190) | async def test_sets_initial_timestamp(self, page: Page) -> None: method test_replaces_global_setTimeout (line 194) | async def test_replaces_global_setTimeout( method test_global_fake_setTimeout_should_return_id (line 201) | async def test_global_fake_setTimeout_should_return_id(self, page: Pag... method test_replaces_global_clearTimeout (line 205) | async def test_replaces_global_clearTimeout( method test_replaces_global_setInterval (line 217) | async def test_replaces_global_setInterval( method test_replaces_global_clearInterval (line 224) | async def test_replaces_global_clearInterval( method test_replaces_global_performance_now (line 236) | async def test_replaces_global_performance_now(self, page: Page) -> None: method test_fakes_Date_constructor (line 251) | async def test_fakes_Date_constructor(self, page: Page) -> None: class TestStubTimersPerformance (line 256) | class TestStubTimersPerformance: method test_replaces_global_performance_time_origin (line 257) | async def test_replaces_global_performance_time_origin(self, page: Pag... class TestPopup (line 276) | class TestPopup: method test_should_tick_after_popup (line 277) | async def test_should_tick_after_popup(self, page: Page) -> None: method test_should_tick_before_popup (line 290) | async def test_should_tick_before_popup(self, page: Page) -> None: method test_should_run_time_before_popup (line 302) | async def test_should_run_time_before_popup( method test_should_not_run_time_before_popup_on_pause (line 323) | async def test_should_not_run_time_before_popup_on_pause( class TestSetFixedTime (line 347) | class TestSetFixedTime: method test_does_not_fake_methods (line 348) | async def test_does_not_fake_methods(self, page: Page) -> None: method test_allows_setting_time_multiple_times (line 353) | async def test_allows_setting_time_multiple_times(self, page: Page) ->... method test_fixed_time_is_not_affected_by_clock_manipulation (line 359) | async def test_fixed_time_is_not_affected_by_clock_manipulation( method test_allows_installing_fake_timers_after_setting_time (line 367) | async def test_allows_installing_fake_timers_after_setting_time( class TestWhileRunning (line 378) | class TestWhileRunning: method test_should_progress_time (line 379) | async def test_should_progress_time(self, page: Page) -> None: method test_should_run_for (line 386) | async def test_should_run_for(self, page: Page) -> None: method test_should_fast_forward (line 393) | async def test_should_fast_forward(self, page: Page) -> None: method test_should_fast_forward_to (line 400) | async def test_should_fast_forward_to(self, page: Page) -> None: method test_should_pause (line 407) | async def test_should_pause(self, page: Page) -> None: method test_should_pause_and_fast_forward (line 415) | async def test_should_pause_and_fast_forward(self, page: Page) -> None: method test_should_set_system_time_on_pause (line 423) | async def test_should_set_system_time_on_pause(self, page: Page) -> None: class TestWhileOnPause (line 431) | class TestWhileOnPause: method test_fast_forward_should_not_run_nested_immediate (line 432) | async def test_fast_forward_should_not_run_nested_immediate( method test_run_for_should_not_run_nested_immediate (line 451) | async def test_run_for_should_not_run_nested_immediate( method test_run_for_should_not_run_nested_immediate_from_microtask (line 470) | async def test_run_for_should_not_run_nested_immediate_from_microtask( FILE: tests/async/test_page_evaluate.py function test_evaluate_work (line 23) | async def test_evaluate_work(page: Page) -> None: function test_evaluate_return_none_for_null (line 28) | async def test_evaluate_return_none_for_null(page: Page) -> None: function test_evaluate_transfer_nan (line 33) | async def test_evaluate_transfer_nan(page: Page) -> None: function test_evaluate_transfer_neg_zero (line 38) | async def test_evaluate_transfer_neg_zero(page: Page) -> None: function test_evaluate_transfer_infinity (line 43) | async def test_evaluate_transfer_infinity(page: Page) -> None: function test_evaluate_transfer_neg_infinity (line 48) | async def test_evaluate_transfer_neg_infinity(page: Page) -> None: function test_evaluate_roundtrip_unserializable_values (line 53) | async def test_evaluate_roundtrip_unserializable_values(page: Page) -> N... function test_evaluate_transfer_arrays (line 63) | async def test_evaluate_transfer_arrays(page: Page) -> None: function test_evaluate_transfer_typed_arrays (line 68) | async def test_evaluate_transfer_typed_arrays(page: Page) -> None: function test_evaluate_transfer_bigint (line 91) | async def test_evaluate_transfer_bigint(page: Page) -> None: function test_evaluate_return_undefined_for_objects_with_symbols (line 96) | async def test_evaluate_return_undefined_for_objects_with_symbols(page: ... function test_evaluate_work_with_unicode_chars (line 118) | async def test_evaluate_work_with_unicode_chars(page: Page) -> None: function test_evaluate_throw_when_evaluation_triggers_reload (line 123) | async def test_evaluate_throw_when_evaluation_triggers_reload(page: Page... function test_evaluate_work_with_exposed_function (line 135) | async def test_evaluate_work_with_exposed_function(page: Page) -> None: function test_evaluate_reject_promise_with_exception (line 141) | async def test_evaluate_reject_promise_with_exception(page: Page) -> None: function test_evaluate_support_thrown_strings (line 151) | async def test_evaluate_support_thrown_strings(page: Page) -> None: function test_evaluate_support_thrown_numbers (line 161) | async def test_evaluate_support_thrown_numbers(page: Page) -> None: function test_evaluate_return_complex_objects (line 171) | async def test_evaluate_return_complex_objects(page: Page) -> None: function test_evaluate_accept_none_as_one_of_multiple_parameters (line 177) | async def test_evaluate_accept_none_as_one_of_multiple_parameters(page: ... function test_evaluate_properly_serialize_none_arguments (line 185) | async def test_evaluate_properly_serialize_none_arguments(page: Page) ->... function test_should_alias_window_document_and_node (line 189) | async def test_should_alias_window_document_and_node(page: Page) -> None: function test_evaluate_should_work_for_circular_object (line 194) | async def test_evaluate_should_work_for_circular_object(page: Page) -> N... function test_evaluate_accept_string (line 208) | async def test_evaluate_accept_string(page: Page) -> None: function test_evaluate_accept_element_handle_as_an_argument (line 212) | async def test_evaluate_accept_element_handle_as_an_argument(page: Page)... function test_evaluate_throw_if_underlying_element_was_disposed (line 219) | async def test_evaluate_throw_if_underlying_element_was_disposed(page: P... function test_evaluate_evaluate_exception (line 233) | async def test_evaluate_evaluate_exception(page: Page) -> None: function test_should_pass_exception_argument (line 251) | async def test_should_pass_exception_argument(page: Page) -> None: function test_evaluate_evaluate_date (line 282) | async def test_evaluate_evaluate_date(page: Page) -> None: function test_evaluate_roundtrip_date_without_tzinfo (line 293) | async def test_evaluate_roundtrip_date_without_tzinfo(page: Page) -> None: function test_evaluate_roundtrip_date (line 299) | async def test_evaluate_roundtrip_date(page: Page) -> None: function test_evaluate_roundtrip_date_with_tzinfo (line 307) | async def test_evaluate_roundtrip_date_with_tzinfo(page: Page) -> None: function test_evaluate_jsonvalue_date (line 314) | async def test_evaluate_jsonvalue_date(page: Page) -> None: function test_should_evaluate_url (line 324) | async def test_should_evaluate_url(page: Page) -> None: function test_should_roundtrip_url (line 338) | async def test_should_roundtrip_url(page: Page) -> None: function test_should_roundtrip_complex_url (line 344) | async def test_should_roundtrip_complex_url(page: Page) -> None: function test_evaluate_jsonvalue_url (line 352) | async def test_evaluate_jsonvalue_url(page: Page) -> None: FILE: tests/async/test_page_event_console.py function test_console_messages_should_work (line 18) | async def test_console_messages_should_work(page: Page) -> None: FILE: tests/async/test_page_event_pageerror.py function test_page_errors_should_work (line 18) | async def test_page_errors_should_work(page: Page) -> None: FILE: tests/async/test_page_event_request.py function test_should_return_last_requests (line 22) | async def test_should_return_last_requests(page: Page, server: Server) -... FILE: tests/async/test_page_network_request.py function test_should_not_allow_to_access_frame_on_popup_main_request (line 23) | async def test_should_not_allow_to_access_frame_on_popup_main_request( function test_should_parse_the_data_if_content_type_is_application_x_www_form_urlencoded_charset_UTF_8 (line 47) | async def test_should_parse_the_data_if_content_type_is_application_x_ww... FILE: tests/async/test_page_network_response.py function test_should_reject_response_finished_if_page_closes (line 23) | async def test_should_reject_response_finished_if_page_closes( function test_should_reject_response_finished_if_context_closes (line 49) | async def test_should_reject_response_finished_if_context_closes( FILE: tests/async/test_page_request_fallback.py function test_should_work (line 24) | async def test_should_work(page: Page, server: Server) -> None: function test_should_fall_back (line 29) | async def test_should_fall_back(page: Page, server: Server) -> None: function test_should_fall_back_async_delayed (line 54) | async def test_should_fall_back_async_delayed(page: Page, server: Server... function test_should_chain_once (line 72) | async def test_should_chain_once(page: Page, server: Server) -> None: function test_should_not_chain_fulfill (line 90) | async def test_should_not_chain_fulfill(page: Page, server: Server) -> N... function test_should_not_chain_abort (line 112) | async def test_should_not_chain_abort( function test_should_fall_back_after_exception (line 137) | async def test_should_fall_back_after_exception(page: Page, server: Serv... function test_should_amend_http_headers (line 151) | async def test_should_amend_http_headers(page: Page, server: Server) -> ... function test_should_delete_header_with_undefined_value (line 173) | async def test_should_delete_header_with_undefined_value( function test_should_amend_method (line 226) | async def test_should_amend_method(page: Page, server: Server) -> None: function test_should_override_request_url (line 249) | async def test_should_override_request_url(page: Page, server: Server) -... function test_should_amend_post_data (line 277) | async def test_should_amend_post_data(page: Page, server: Server) -> None: function test_should_amend_binary_post_data (line 297) | async def test_should_amend_binary_post_data(page: Page, server: Server)... function test_should_chain_fallback_with_dynamic_url (line 322) | async def test_should_chain_fallback_with_dynamic_url( function test_should_amend_json_post_data (line 349) | async def test_should_amend_json_post_data(server: Server, page: Page) -... FILE: tests/async/test_page_request_gc.py function test_should_work (line 19) | async def test_should_work(page: Page, server: Server) -> None: FILE: tests/async/test_page_request_intercept.py function test_should_support_timeout_option_in_route_fetch (line 24) | async def test_should_support_timeout_option_in_route_fetch( function test_should_not_follow_redirects_when_max_redirects_is_set_to_0_in_route_fetch (line 45) | async def test_should_not_follow_redirects_when_max_redirects_is_set_to_... function test_should_intercept_with_url_override (line 61) | async def test_should_intercept_with_url_override(server: Server, page: ... function test_should_intercept_with_post_data_override (line 73) | async def test_should_intercept_with_post_data_override( function test_should_fulfill_popup_main_request_using_alias (line 89) | async def test_should_fulfill_popup_main_request_using_alias( FILE: tests/async/test_page_route.py function test_page_route_should_intercept (line 39) | async def test_page_route_should_intercept(page: Page, server: Server) -... function test_page_route_should_unroute (line 63) | async def test_page_route_should_unroute(page: Page, server: Server) -> ... function test_page_route_should_work_when_POST_is_redirected_with_302 (line 107) | async def test_page_route_should_work_when_POST_is_redirected_with_302( function test_page_route_should_work_when_header_manipulation_headers_with_redirect (line 125) | async def test_page_route_should_work_when_header_manipulation_headers_w... function test_page_route_should_be_able_to_remove_headers (line 138) | async def test_page_route_should_be_able_to_remove_headers( function test_page_route_should_contain_referer_header (line 158) | async def test_page_route_should_contain_referer_header( function test_page_route_should_properly_return_navigation_response_when_URL_has_cookies (line 177) | async def test_page_route_should_properly_return_navigation_response_whe... function test_page_route_should_show_custom_HTTP_headers (line 193) | async def test_page_route_should_show_custom_HTTP_headers( function test_page_route_should_work_with_redirect_inside_sync_XHR (line 216) | async def test_page_route_should_work_with_redirect_inside_sync_XHR( function test_page_route_should_work_with_custom_referer_headers (line 234) | async def test_page_route_should_work_with_custom_referer_headers( function test_page_route_should_be_abortable (line 256) | async def test_page_route_should_be_abortable(page: Page, server: Server... function test_page_route_should_be_abortable_with_custom_error_codes (line 273) | async def test_page_route_should_be_abortable_with_custom_error_codes( function test_page_route_should_send_referer (line 294) | async def test_page_route_should_send_referer(page: Page, server: Server... function test_page_route_should_fail_navigation_when_aborting_main_resource (line 305) | async def test_page_route_should_fail_navigation_when_aborting_main_reso... function test_page_route_should_not_work_with_redirects (line 320) | async def test_page_route_should_not_work_with_redirects( function test_page_route_should_work_with_redirects_for_subresources (line 366) | async def test_page_route_should_work_with_redirects_for_subresources( function test_page_route_should_work_with_equal_requests (line 412) | async def test_page_route_should_work_with_equal_requests( function test_page_route_should_navigate_to_dataURL_and_not_fire_dataURL_requests (line 448) | async def test_page_route_should_navigate_to_dataURL_and_not_fire_dataUR... function test_page_route_should_be_able_to_fetch_dataURL_and_not_fire_dataURL_requests (line 468) | async def test_page_route_should_be_able_to_fetch_dataURL_and_not_fire_d... function test_page_route_should_navigate_to_URL_with_hash_and_and_fire_requests_without_hash (line 486) | async def test_page_route_should_navigate_to_URL_with_hash_and_and_fire_... function test_page_route_should_work_with_encoded_server (line 508) | async def test_page_route_should_work_with_encoded_server( function test_page_route_should_work_with_encoded_server___2 (line 519) | async def test_page_route_should_work_with_encoded_server___2( function test_page_route_should_not_throw_Invalid_Interception_Id_if_the_request_was_cancelled (line 539) | async def test_page_route_should_not_throw_Invalid_Interception_Id_if_th... function test_page_route_should_intercept_main_resource_during_cross_process_navigation (line 556) | async def test_page_route_should_intercept_main_resource_during_cross_pr... function test_page_route_should_create_a_redirect (line 578) | async def test_page_route_should_create_a_redirect(page: Page, server: S... function test_page_route_should_support_cors_with_GET (line 601) | async def test_page_route_should_support_cors_with_GET( function test_page_route_should_support_cors_with_POST (line 649) | async def test_page_route_should_support_cors_with_POST( function test_page_route_should_support_cors_for_different_methods (line 678) | async def test_page_route_should_support_cors_for_different_methods( function test_request_fulfill_should_work_a (line 722) | async def test_request_fulfill_should_work_a(page: Page, server: Server)... function test_request_fulfill_should_work_with_status_code_422 (line 740) | async def test_request_fulfill_should_work_with_status_code_422( function test_request_fulfill_should_allow_mocking_binary_responses (line 755) | async def test_request_fulfill_should_allow_mocking_binary_responses( function test_request_fulfill_should_allow_mocking_svg_with_charset (line 783) | async def test_request_fulfill_should_allow_mocking_svg_with_charset( function test_request_fulfill_should_work_with_file_path (line 808) | async def test_request_fulfill_should_work_with_file_path( function test_request_fulfill_should_stringify_intercepted_request_response_headers (line 834) | async def test_request_fulfill_should_stringify_intercepted_request_resp... function test_request_fulfill_should_not_modify_the_headers_sent_to_the_server (line 852) | async def test_request_fulfill_should_not_modify_the_headers_sent_to_the... function test_request_fulfill_should_include_the_origin_header (line 904) | async def test_request_fulfill_should_include_the_origin_header( function test_request_fulfill_should_work_with_request_interception (line 934) | async def test_request_fulfill_should_work_with_request_interception( function test_Interception_should_work_with_request_interception (line 953) | async def test_Interception_should_work_with_request_interception( function test_ignore_http_errors_service_worker_should_intercept_after_a_service_worker (line 966) | async def test_ignore_http_errors_service_worker_should_intercept_after_... function test_page_route_should_support_times_parameter (line 996) | async def test_page_route_should_support_times_parameter( function test_should_work_if_handler_with_times_parameter_was_removed_from_another_handler (line 1013) | async def test_should_work_if_handler_with_times_parameter_was_removed_f... function test_should_fulfill_with_global_fetch_result (line 1037) | async def test_should_fulfill_with_global_fetch_result( function test_should_work_with_glob (line 1054) | async def test_should_work_with_glob() -> None: function test_should_not_support_question_in_glob_pattern (line 1214) | async def test_should_not_support_question_in_glob_pattern( FILE: tests/async/test_page_select_option.py function test_select_option_should_select_single_option (line 21) | async def test_select_option_should_select_single_option( function test_select_option_should_select_single_option_by_value (line 30) | async def test_select_option_should_select_single_option_by_value( function test_select_option_should_select_single_option_by_label (line 39) | async def test_select_option_should_select_single_option_by_label( function test_select_option_should_select_single_option_by_empty_label (line 48) | async def test_select_option_should_select_single_option_by_empty_label( function test_select_option_should_select_single_option_by_handle (line 64) | async def test_select_option_should_select_single_option_by_handle( function test_select_option_should_select_single_option_by_index (line 75) | async def test_select_option_should_select_single_option_by_index( function test_select_option_should_select_single_option_by_index_0 (line 84) | async def test_select_option_should_select_single_option_by_index_0( function test_select_option_should_select_only_first_option (line 92) | async def test_select_option_should_select_only_first_option( function test_select_option_should_not_throw_when_select_causes_navigation (line 101) | async def test_select_option_should_not_throw_when_select_causes_navigat... function test_select_option_should_select_multiple_options (line 114) | async def test_select_option_should_select_multiple_options( function test_select_option_should_select_multiple_options_with_attributes (line 124) | async def test_select_option_should_select_multiple_options_with_attribu... function test_select_option_should_select_option_with_empty_value (line 139) | async def test_select_option_should_select_option_with_empty_value( function test_select_option_should_respect_event_bubbling (line 156) | async def test_select_option_should_respect_event_bubbling( function test_select_option_should_throw_when_element_is_not_a__select_ (line 165) | async def test_select_option_should_throw_when_element_is_not_a__select_( function test_select_option_should_return_on_no_matched_values (line 174) | async def test_select_option_should_return_on_no_matched_values( function test_select_option_should_return_an_array_of_matched_values (line 183) | async def test_select_option_should_return_an_array_of_matched_values( function test_select_option_should_return_an_array_of_one_element_when_multiple_is_not_set (line 192) | async def test_select_option_should_return_an_array_of_one_element_when_... function test_select_option_should_return_on_no_values (line 200) | async def test_select_option_should_return_on_no_values( function test_select_option_should_not_allow_null_items (line 208) | async def test_select_option_should_not_allow_null_items( function test_select_option_should_unselect_with_null (line 218) | async def test_select_option_should_unselect_with_null( function test_select_option_should_deselect_all_options_when_passed_no_values_for_a_multiple_select (line 232) | async def test_select_option_should_deselect_all_options_when_passed_no_... function test_select_option_should_deselect_all_options_when_passed_no_values_for_a_select_without_multiple (line 245) | async def test_select_option_should_deselect_all_options_when_passed_no_... function test_select_option_should_work_when_re_defining_top_level_event_class (line 257) | async def test_select_option_should_work_when_re_defining_top_level_even... function test_select_options_should_fall_back_to_selecting_by_label (line 267) | async def test_select_options_should_fall_back_to_selecting_by_label( FILE: tests/async/test_pdf.py function test_should_be_able_to_save_pdf_file (line 26) | async def test_should_be_able_to_save_pdf_file(page: Page, tmp_path: Pat... function test_should_be_able_capture_pdf_without_path (line 32) | async def test_should_be_able_capture_pdf_without_path(page: Page) -> None: function test_should_be_able_to_generate_outline (line 37) | async def test_should_be_able_to_generate_outline( FILE: tests/async/test_popup.py function test_link_navigation_inherit_user_agent_from_browser_context (line 23) | async def test_link_navigation_inherit_user_agent_from_browser_context( function test_link_navigation_respect_routes_from_browser_context (line 46) | async def test_link_navigation_respect_routes_from_browser_context( function test_window_open_inherit_user_agent_from_browser_context (line 65) | async def test_window_open_inherit_user_agent_from_browser_context( function test_should_inherit_extra_headers_from_browser_context (line 87) | async def test_should_inherit_extra_headers_from_browser_context( function test_should_inherit_offline_from_browser_context (line 104) | async def test_should_inherit_offline_from_browser_context( function test_should_inherit_http_credentials_from_browser_context (line 120) | async def test_should_inherit_http_credentials_from_browser_context( function test_should_inherit_touch_support_from_browser_context (line 139) | async def test_should_inherit_touch_support_from_browser_context( function test_should_inherit_viewport_size_from_browser_context (line 159) | async def test_should_inherit_viewport_size_from_browser_context( function test_should_use_viewport_size_from_window_features (line 177) | async def test_should_use_viewport_size_from_window_features( function test_should_respect_routes_from_browser_context (line 210) | async def test_should_respect_routes_from_browser_context( function test_browser_context_add_init_script_should_apply_to_an_in_process_popup (line 233) | async def test_browser_context_add_init_script_should_apply_to_an_in_pro... function test_browser_context_add_init_script_should_apply_to_a_cross_process_popup (line 249) | async def test_browser_context_add_init_script_should_apply_to_a_cross_p... function test_should_expose_function_from_browser_context (line 265) | async def test_should_expose_function_from_browser_context( function test_should_work (line 281) | async def test_should_work(context: BrowserContext) -> None: function test_should_work_with_window_features (line 290) | async def test_should_work_with_window_features( function test_window_open_emit_for_immediately_closed_popups (line 304) | async def test_window_open_emit_for_immediately_closed_popups( function test_should_emit_for_immediately_closed_popups (line 319) | async def test_should_emit_for_immediately_closed_popups( function test_should_be_able_to_capture_alert (line 335) | async def test_should_be_able_to_capture_alert(context: BrowserContext) ... function test_should_work_with_empty_url (line 360) | async def test_should_work_with_empty_url(context: BrowserContext) -> None: function test_should_work_with_noopener_and_no_url (line 369) | async def test_should_work_with_noopener_and_no_url(context: BrowserCont... function test_should_work_with_noopener_and_about_blank (line 382) | async def test_should_work_with_noopener_and_about_blank( function test_should_work_with_noopener_and_url (line 395) | async def test_should_work_with_noopener_and_url( function test_should_work_with_clicking_target__blank (line 410) | async def test_should_work_with_clicking_target__blank( function test_should_work_with_fake_clicking_target__blank_and_rel_noopener (line 426) | async def test_should_work_with_fake_clicking_target__blank_and_rel_noop... function test_should_work_with_clicking_target__blank_and_rel_noopener (line 441) | async def test_should_work_with_clicking_target__blank_and_rel_noopener( function test_should_not_treat_navigations_as_new_popups (line 456) | async def test_should_not_treat_navigations_as_new_popups( FILE: tests/async/test_proxy.py function test_should_throw_for_bad_server_value (line 25) | async def test_should_throw_for_bad_server_value( function test_should_use_proxy (line 33) | async def test_should_use_proxy( function test_proxy_should_allow_none_for_optional_settings (line 49) | async def test_proxy_should_allow_none_for_optional_settings( function test_should_use_proxy_for_second_page (line 72) | async def test_should_use_proxy_for_second_page( function test_should_work_with_ip_port_notion (line 93) | async def test_should_work_with_ip_port_notion( function test_should_authenticate (line 109) | async def test_should_authenticate( function test_should_authenticate_with_empty_password (line 139) | async def test_should_authenticate_with_empty_password( FILE: tests/async/test_queryselector.py function test_selectors_register_should_work (line 23) | async def test_selectors_register_should_work( function test_selectors_register_should_work_with_path (line 82) | async def test_selectors_register_should_work_with_path( function test_selectors_register_should_work_in_main_and_isolated_world (line 92) | async def test_selectors_register_should_work_in_main_and_isolated_world( function test_selectors_register_should_handle_errors (line 159) | async def test_selectors_register_should_handle_errors( function test_should_work_with_layout_selectors (line 210) | async def test_should_work_with_layout_selectors(page: Page) -> None: FILE: tests/async/test_request_continue.py function test_request_continue_should_work (line 22) | async def test_request_continue_should_work(page: Page, server: Server) ... function test_request_continue_should_amend_http_headers (line 27) | async def test_request_continue_should_amend_http_headers( function test_request_continue_should_amend_method (line 45) | async def test_request_continue_should_amend_method(page: Page, server: ... function test_request_continue_should_amend_method_on_main_request (line 59) | async def test_request_continue_should_amend_method_on_main_request( function test_request_continue_should_amend_post_data (line 70) | async def test_request_continue_should_amend_post_data( function test_should_override_request_url (line 91) | async def test_should_override_request_url(page: Page, server: Server) -... function test_should_raise_except (line 102) | async def test_should_raise_except(page: Page, server: Server) -> None: function test_should_amend_utf8_post_data (line 117) | async def test_should_amend_utf8_post_data(page: Page, server: Server) -... function test_should_amend_binary_post_data (line 133) | async def test_should_amend_binary_post_data(page: Page, server: Server)... function test_continue_should_not_change_multipart_form_data_body (line 150) | async def test_continue_should_not_change_multipart_form_data_body( FILE: tests/async/test_request_fulfill.py function test_should_fetch_original_request_and_fulfill (line 19) | async def test_should_fetch_original_request_and_fulfill( function test_should_fulfill_json (line 33) | async def test_should_fulfill_json(page: Page, server: Server) -> None: function test_should_fulfill_json_overriding_existing_response (line 46) | async def test_should_fulfill_json_overriding_existing_response( FILE: tests/async/test_request_intercept.py function test_should_fulfill_intercepted_response (line 24) | async def test_should_fulfill_intercepted_response(page: Page, server: S... function test_should_fulfill_response_with_empty_body (line 44) | async def test_should_fulfill_response_with_empty_body( function test_should_override_with_defaults_when_intercepted_response_not_provided (line 60) | async def test_should_override_with_defaults_when_intercepted_response_n... function test_should_fulfill_with_any_response (line 85) | async def test_should_fulfill_with_any_response(page: Page, server: Serv... function test_should_support_fulfill_after_intercept (line 106) | async def test_should_support_fulfill_after_intercept( function test_should_give_access_to_the_intercepted_response (line 124) | async def test_should_give_access_to_the_intercepted_response( function test_should_give_access_to_the_intercepted_response_body (line 157) | async def test_should_give_access_to_the_intercepted_response_body( function test_should_intercept_by_glob (line 180) | async def test_should_intercept_by_glob(page: Page, server: Server) -> N... FILE: tests/async/test_resource_timing.py function test_should_work (line 23) | async def test_should_work(page: Page, server: Server) -> None: function test_should_work_for_subresource (line 35) | async def test_should_work_for_subresource( function test_should_work_for_ssl (line 52) | async def test_should_work_for_ssl(browser: Browser, https_server: Serve... function test_should_work_for_redirect (line 67) | async def test_should_work_for_redirect(page: Page, server: Server) -> N... function verify_timing_value (line 94) | def verify_timing_value(value: float, previous: float) -> None: function verify_connections_timing_consistency (line 98) | def verify_connections_timing_consistency(timing: Dict) -> None: FILE: tests/async/test_route_web_socket.py function assert_equal (line 24) | async def assert_equal( function setup_ws (line 42) | async def setup_ws( function test_should_work_with_ws_close (line 72) | async def test_should_work_with_ws_close(page: Page, server: Server) -> ... function test_should_pattern_match (line 111) | async def test_should_pattern_match(page: Page, server: Server) -> None: function test_should_work_with_server (line 148) | async def test_should_work_with_server(page: Page, server: Server) -> None: function test_should_work_without_server (line 276) | async def test_should_work_without_server(page: Page, server: Server) ->... function test_should_work_with_base_url (line 325) | async def test_should_work_with_base_url(browser: Browser, server: Serve... function test_should_work_with_no_trailing_slash (line 351) | async def test_should_work_with_no_trailing_slash(page: Page, server: Se... FILE: tests/async/test_screenshot.py function assert_image_file_format (line 25) | def assert_image_file_format(path: Path, image_format: str) -> None: function test_should_screenshot_with_mask (line 30) | async def test_should_screenshot_with_mask( function test_should_infer_screenshot_type_from_path (line 56) | async def test_should_infer_screenshot_type_from_path( function test_should_screenshot_with_type_argument (line 72) | async def test_should_screenshot_with_type_argument(page: Page, tmp_path... FILE: tests/async/test_selector_generator.py function test_should_use_data_test_id_in_strict_errors (line 20) | async def test_should_use_data_test_id_in_strict_errors( FILE: tests/async/test_selectors_get_by.py function test_get_by_escaping (line 20) | async def test_get_by_escaping(page: Page) -> None: function test_get_by_role_escaping (line 129) | async def test_get_by_role_escaping( function test_include_hidden_should_work (line 204) | async def test_include_hidden_should_work( FILE: tests/async/test_selectors_misc.py function test_should_work_with_internal_and (line 23) | async def test_should_work_with_internal_and(page: Page) -> None: function test_should_throw_already_registered_error_when_registering (line 62) | async def test_should_throw_already_registered_error_when_registering( FILE: tests/async/test_selectors_text.py function test_has_text_and_internal_text_should_match_full_node_text_in_strict_mode (line 21) | async def test_has_text_and_internal_text_should_match_full_node_text_in... function test_should_work (line 53) | async def test_should_work(page: Page) -> None: FILE: tests/async/test_tap.py function context (line 24) | async def context(browser: Browser) -> AsyncGenerator[BrowserContext, No... function test_should_send_all_of_the_correct_events (line 30) | async def test_should_send_all_of_the_correct_events(page: Page) -> None: function test_should_not_send_mouse_events_touchstart_is_canceled (line 58) | async def test_should_not_send_mouse_events_touchstart_is_canceled(page:... function test_should_not_send_mouse_events_touchend_is_canceled (line 80) | async def test_should_not_send_mouse_events_touchend_is_canceled(page: P... function test_should_work_with_modifiers (line 102) | async def test_should_work_with_modifiers(page: Page) -> None: function test_should_send_well_formed_touch_points (line 119) | async def test_should_send_well_formed_touch_points(page: Page) -> None: function test_should_wait_until_an_element_is_visible_to_tap_it (line 176) | async def test_should_wait_until_an_element_is_visible_to_tap_it(page: P... function test_locators_tap (line 197) | async def test_locators_tap(page: Page) -> None: function track_events (line 225) | async def track_events(target: Optional[ElementHandle]) -> JSHandle: FILE: tests/async/test_tracing.py function test_browser_context_output_trace (line 33) | async def test_browser_context_output_trace( function test_start_stop (line 44) | async def test_start_stop(browser: Browser) -> None: function test_browser_context_should_not_throw_when_stopping_without_start_but_not_exporting (line 51) | async def test_browser_context_should_not_throw_when_stopping_without_st... function test_browser_context_output_trace_chunk (line 57) | async def test_browser_context_output_trace_chunk( function test_should_collect_sources (line 77) | async def test_should_collect_sources( function test_should_collect_trace_with_resources_but_no_js (line 126) | async def test_should_collect_trace_with_resources_but_no_js( function test_should_correctly_determine_sync_apiname (line 174) | async def test_should_correctly_determine_sync_apiname( function test_should_collect_two_traces (line 206) | async def test_should_collect_two_traces( function test_should_work_with_playwright_context_managers (line 244) | async def test_should_work_with_playwright_context_managers( function test_should_display_wait_for_load_state_even_if_did_not_wait_for_it (line 278) | async def test_should_display_wait_for_load_state_even_if_did_not_wait_f... function test_should_respect_traces_dir_and_name (line 304) | async def test_should_respect_traces_dir_and_name( function test_should_show_tracing_group_in_action_list (line 357) | async def test_should_show_tracing_group_in_action_list( FILE: tests/async/test_unroute_behavior.py function test_context_unroute_should_not_wait_for_pending_handlers_to_complete (line 23) | async def test_context_unroute_should_not_wait_for_pending_handlers_to_c... function test_context_unroute_all_removes_all_handlers (line 60) | async def test_context_unroute_all_removes_all_handlers( function test_context_unroute_all_should_not_wait_for_pending_handlers_to_complete (line 75) | async def test_context_unroute_all_should_not_wait_for_pending_handlers_... function test_context_unroute_all_should_not_wait_for_pending_handlers_to_complete_if_behavior_is_ignore_errors (line 120) | async def test_context_unroute_all_should_not_wait_for_pending_handlers_... function test_page_close_should_not_wait_for_active_route_handlers_on_the_owning_context (line 168) | async def test_page_close_should_not_wait_for_active_route_handlers_on_t... function test_context_close_should_not_wait_for_active_route_handlers_on_the_owned_pages (line 192) | async def test_context_close_should_not_wait_for_active_route_handlers_o... function test_page_unroute_should_not_wait_for_pending_handlers_to_complete (line 213) | async def test_page_unroute_should_not_wait_for_pending_handlers_to_comp... function test_page_unroute_all_removes_all_routes (line 250) | async def test_page_unroute_all_removes_all_routes(page: Page, server: S... function test_page_unroute_should_wait_for_pending_handlers_to_complete (line 264) | async def test_page_unroute_should_wait_for_pending_handlers_to_complete( function test_page_unroute_all_should_not_wait_for_pending_handlers_to_complete_if_behavior_is_ignore_errors (line 309) | async def test_page_unroute_all_should_not_wait_for_pending_handlers_to_... function test_page_close_does_not_wait_for_active_route_handlers (line 351) | async def test_page_close_does_not_wait_for_active_route_handlers( function test_route_continue_should_not_throw_if_page_has_been_closed (line 390) | async def test_route_continue_should_not_throw_if_page_has_been_closed( function test_route_fallback_should_not_throw_if_page_has_been_closed (line 412) | async def test_route_fallback_should_not_throw_if_page_has_been_closed( function test_route_fulfill_should_not_throw_if_page_has_been_closed (line 434) | async def test_route_fulfill_should_not_throw_if_page_has_been_closed( function test_should_not_continue_requests_in_flight_page (line 456) | async def test_should_not_continue_requests_in_flight_page( function test_should_not_continue_requests_in_flight_context (line 484) | async def test_should_not_continue_requests_in_flight_context( FILE: tests/async/test_video.py function test_should_expose_video_path (line 23) | async def test_should_expose_video_path( function test_short_video_should_throw (line 34) | async def test_short_video_should_throw( function test_short_video_should_throw_persistent_context (line 47) | async def test_short_video_should_throw_persistent_context( function test_should_not_error_if_page_not_closed_before_save_as (line 66) | async def test_should_not_error_if_page_not_closed_before_save_as( function test_should_be_None_if_not_recording (line 81) | async def test_should_be_None_if_not_recording( FILE: tests/async/test_wait_for_function.py function test_should_timeout (line 22) | async def test_should_timeout(page: Page) -> None: function test_should_accept_a_string (line 29) | async def test_should_accept_a_string(page: Page) -> None: function test_should_work_when_resolved_right_before_execution_context_disposal (line 35) | async def test_should_work_when_resolved_right_before_execution_context_... function test_should_poll_on_interval (line 48) | async def test_should_poll_on_interval(page: Page) -> None: function test_should_avoid_side_effects_after_timeout (line 63) | async def test_should_avoid_side_effects_after_timeout(page: Page) -> None: function test_should_throw_on_polling_mutation (line 88) | async def test_should_throw_on_polling_mutation(page: Page) -> None: FILE: tests/async/test_wait_for_url.py function test_wait_for_url_should_work (line 23) | async def test_wait_for_url_should_work(page: Page, server: Server) -> N... function test_wait_for_url_should_respect_timeout (line 32) | async def test_wait_for_url_should_respect_timeout(page: Page, server: S... function test_wait_for_url_should_work_with_both_domcontentloaded_and_load (line 39) | async def test_wait_for_url_should_work_with_both_domcontentloaded_and_l... function test_wait_for_url_should_work_with_clicking_on_anchor_links (line 47) | async def test_wait_for_url_should_work_with_clicking_on_anchor_links( function test_wait_for_url_should_work_with_history_push_state (line 57) | async def test_wait_for_url_should_work_with_history_push_state( function test_wait_for_url_should_work_with_history_replace_state (line 74) | async def test_wait_for_url_should_work_with_history_replace_state( function test_wait_for_url_should_work_with_dom_history_back_forward (line 91) | async def test_wait_for_url_should_work_with_dom_history_back_forward( function test_wait_for_url_should_work_with_url_match_for_same_document_navigations (line 119) | async def test_wait_for_url_should_work_with_url_match_for_same_document... function test_wait_for_url_should_work_with_commit (line 130) | async def test_wait_for_url_should_work_with_commit(page: Page, server: ... FILE: tests/async/test_websocket.py function test_should_work (line 24) | async def test_should_work(page: Page, server: Server) -> None: function test_should_emit_close_events (line 40) | async def test_should_emit_close_events(page: Page, server: Server) -> N... function test_should_emit_frame_events (line 59) | async def test_should_emit_frame_events(page: Page, server: Server) -> N... function test_should_emit_binary_frame_events (line 109) | async def test_should_emit_binary_frame_events(page: Page, server: Serve... function test_should_reject_wait_for_event_on_close_and_error (line 153) | async def test_should_reject_wait_for_event_on_close_and_error( function test_should_emit_error_event (line 172) | async def test_should_emit_error_event( FILE: tests/async/test_worker.py function test_workers_page_workers (line 25) | async def test_workers_page_workers(page: Page, server: Server) -> None: function test_workers_should_emit_created_and_destroyed_events (line 41) | async def test_workers_should_emit_created_and_destroyed_events(page: Pa... function test_workers_should_report_console_logs (line 58) | async def test_workers_should_report_console_logs(page: Page) -> None: function test_workers_should_have_JSHandles_for_console_logs (line 67) | async def test_workers_should_have_JSHandles_for_console_logs( function test_workers_should_evaluate (line 84) | async def test_workers_should_evaluate(page: Page) -> None: function test_workers_should_report_errors (line 93) | async def test_workers_should_report_errors(page: Page) -> None: function test_workers_should_clear_upon_navigation (line 109) | async def test_workers_should_clear_upon_navigation(server: Server, page... function test_workers_should_clear_upon_cross_process_navigation (line 124) | async def test_workers_should_clear_upon_cross_process_navigation( function test_workers_should_report_network_activity (line 144) | async def test_workers_should_report_network_activity( function test_workers_should_report_network_activity_on_worker_creation (line 168) | async def test_workers_should_report_network_activity_on_worker_creation( function test_workers_should_format_number_using_context_locale (line 191) | async def test_workers_should_format_number_using_context_locale( function test_worker_should_report_console_event (line 208) | async def test_worker_should_report_console_event(page: Page) -> None: function test_worker_should_report_console_event_when_not_listening_on_page_or_context (line 230) | async def test_worker_should_report_console_event_when_not_listening_on_... FILE: tests/async/utils.py class Utils (line 28) | class Utils: method attach_frame (line 29) | async def attach_frame(self, page: Page, frame_id: str, url: str) -> F... method detach_frame (line 45) | async def detach_frame(self, page: Page, frame_id: str) -> None: method dump_frames (line 50) | def dump_frames(self, frame: Frame, indentation: str = "") -> List[str]: method verify_viewport (line 63) | async def verify_viewport(self, page: Page, width: int, height: int) -... method register_selector_engine (line 69) | async def register_selector_engine( FILE: tests/common/test_events.py function test_events (line 22) | def test_events(browser_name: str, launch_arguments: Dict, server: Serve... FILE: tests/common/test_signals.py function _test_signals_async (line 27) | def _test_signals_async( function _test_signals_sync (line 70) | def _test_signals_sync( function _create_signals_test (line 110) | def _create_signals_test( function test_signals_sync (line 139) | def test_signals_sync(browser_name: str, launch_arguments: Dict) -> None: function test_signals_async (line 144) | def test_signals_async(browser_name: str, launch_arguments: Dict) -> None: FILE: tests/common/test_threads.py function test_running_in_thread (line 21) | def test_running_in_thread(browser_name: str, launch_arguments: Dict) ->... FILE: tests/conftest.py function pytest_configure (line 37) | def pytest_configure(config: pytest.Config) -> None: function pytest_generate_tests (line 42) | def pytest_generate_tests(metafunc: pytest.Metafunc) -> None: function assetdir (line 49) | def assetdir() -> Path: function headless (line 54) | def headless(pytestconfig: pytest.Config) -> bool: function launch_arguments (line 59) | def launch_arguments(pytestconfig: pytest.Config, headless: bool) -> Dict: function server (line 69) | def server() -> Generator[Server, None, None]: function https_server (line 74) | def https_server() -> Generator[Server, None, None]: function start_server (line 79) | def start_server() -> Generator[None, None, None]: function after_each_hook (line 86) | def after_each_hook() -> Generator[None, None, None]: function browser_name (line 92) | def browser_name(pytestconfig: pytest.Config) -> str: function browser_channel (line 97) | def browser_channel(pytestconfig: pytest.Config) -> Optional[str]: function is_headless_shell (line 102) | def is_headless_shell(browser_name: str, browser_channel: str, headless:... function is_webkit (line 110) | def is_webkit(browser_name: str) -> bool: function is_firefox (line 115) | def is_firefox(browser_name: str) -> bool: function is_chromium (line 120) | def is_chromium(browser_name: str) -> bool: function is_win (line 125) | def is_win() -> bool: function is_linux (line 130) | def is_linux() -> bool: function is_mac (line 135) | def is_mac() -> bool: function _get_skiplist (line 139) | def _get_skiplist( function skip_by_browser (line 158) | def skip_by_browser(request: pytest.FixtureRequest, browser_name: str) -... function skip_by_platform (line 168) | def skip_by_platform(request: pytest.FixtureRequest) -> None: function pytest_addoption (line 177) | def pytest_addoption(parser: pytest.Parser) -> None: function assert_to_be_golden (line 200) | def assert_to_be_golden(browser_name: str) -> Callable[[bytes, str], None]: class RemoteServer (line 229) | class RemoteServer: method __init__ (line 230) | def __init__( method kill (line 258) | def kill(self) -> None: function launch_server (line 267) | def launch_server( FILE: tests/server.py function find_free_port (line 56) | def find_free_port() -> int: class ExpectResponse (line 66) | class ExpectResponse(Generic[T]): method __init__ (line 67) | def __init__(self) -> None: method value (line 71) | def value(self) -> T: class TestServerRequest (line 77) | class TestServerRequest(http.Request): method process (line 82) | def process(self) -> None: method serve_file (line 124) | def serve_file(self, path: pathlib.Path) -> None: method _serve_file (line 127) | def _serve_file(self, path: pathlib.Path, request_path: str) -> None: class TestServerHTTPChannel (line 152) | class TestServerHTTPChannel(http.HTTPChannel): class TestServerFactory (line 157) | class TestServerFactory(http.HTTPFactory): class Server (line 162) | class Server: method __init__ (line 165) | def __init__(self) -> None: method __repr__ (line 177) | def __repr__(self) -> str: method listen (line 181) | def listen(self, factory: TestServerFactory) -> None: method start (line 184) | def start(self, static_path: pathlib.Path = _dirname / "assets") -> None: method wait_for_request (line 207) | async def wait_for_request(self, path: str) -> TestServerRequest: method wait_for_web_socket (line 214) | def wait_for_web_socket(self) -> 'asyncio.Future["WebSocketProtocol"]': method expect_request (line 220) | def expect_request( method expect_websocket (line 234) | def expect_websocket( method set_auth (line 247) | def set_auth(self, path: str, username: str, password: str) -> None: method set_csp (line 250) | def set_csp(self, path: str, value: str) -> None: method reset (line 253) | def reset(self) -> None: method set_route (line 261) | def set_route( method enable_gzip (line 266) | def enable_gzip(self, path: str) -> None: method set_redirect (line 269) | def set_redirect(self, from_: str, to: str) -> None: method send_on_web_socket_connection (line 277) | def send_on_web_socket_connection(self, data: bytes) -> None: method once_web_socket_connection (line 280) | def once_web_socket_connection( class HTTPServer (line 286) | class HTTPServer(Server): method __init__ (line 287) | def __init__(self) -> None: method listen (line 291) | def listen(self, factory: http.HTTPFactory) -> None: method stop (line 302) | def stop(self) -> None: class HTTPSServer (line 308) | class HTTPSServer(Server): method __init__ (line 311) | def __init__(self) -> None: method listen (line 315) | def listen(self, factory: http.HTTPFactory) -> None: method stop (line 335) | def stop(self) -> None: class WebSocketProtocol (line 341) | class WebSocketProtocol(WebSocketServerProtocol): method __init__ (line 342) | def __init__(self, *args: Any, **kwargs: Any) -> None: method onClose (line 346) | def onClose(self, wasClean: bool, code: int, reason: str) -> None: method onMessage (line 354) | def onMessage(self, payload: Union[str, bytes], isBinary: bool) -> None: method onOpen (line 357) | def onOpen(self) -> None: class TestServer (line 363) | class TestServer: method __init__ (line 364) | def __init__(self) -> None: method start (line 368) | def start(self) -> None: method stop (line 376) | def stop(self) -> None: method reset (line 380) | def reset(self) -> None: FILE: tests/sync/conftest.py function utils (line 43) | def utils() -> Generator[Utils, None, None]: function playwright (line 48) | def playwright() -> Generator[Playwright, None, None]: function browser_type (line 54) | def browser_type( function browser (line 69) | def browser( function context (line 78) | def context(browser: Browser) -> Generator[BrowserContext, None, None]: function page (line 85) | def page(context: BrowserContext) -> Generator[Page, None, None]: function selectors (line 92) | def selectors(playwright: Playwright) -> Selectors: function sync_gather (line 97) | def sync_gather(playwright: Playwright) -> Generator[Callable, None, None]: class TraceViewerPage (line 132) | class TraceViewerPage: method __init__ (line 133) | def __init__(self, page: Page): method actions_tree (line 137) | def actions_tree(self) -> Locator: method action_titles (line 141) | def action_titles(self) -> Locator: method stack_frames (line 145) | def stack_frames(self) -> Locator: method select_action (line 148) | def select_action(self, title: str, ordinal: int = 0) -> None: method select_snapshot (line 151) | def select_snapshot(self, name: str) -> None: method snapshot_frame (line 154) | def snapshot_frame( method show_source_tab (line 163) | def show_source_tab(self) -> None: method expand_action (line 166) | def expand_action(self, title: str, ordinal: int = 0) -> None: function show_trace_viewer (line 173) | def show_trace_viewer(browser: Browser) -> Generator[Callable, None, None]: FILE: tests/sync/test_add_init_script.py function test_add_init_script_evaluate_before_anything_else_on_the_page (line 22) | def test_add_init_script_evaluate_before_anything_else_on_the_page(page:... function test_add_init_script_work_with_a_path (line 28) | def test_add_init_script_work_with_a_path(page: Page, assetdir: Path) ->... function test_add_init_script_work_with_content (line 34) | def test_add_init_script_work_with_content(page: Page) -> None: function test_add_init_script_throw_without_path_and_content (line 40) | def test_add_init_script_throw_without_path_and_content(page: Page) -> N... function test_add_init_script_work_with_browser_context_scripts (line 47) | def test_add_init_script_work_with_browser_context_scripts( function test_add_init_script_work_with_browser_context_scripts_with_a_path (line 57) | def test_add_init_script_work_with_browser_context_scripts_with_a_path( function test_add_init_script_work_with_browser_context_scripts_for_already_created_pages (line 66) | def test_add_init_script_work_with_browser_context_scripts_for_already_c... function test_add_init_script_support_multiple_scripts (line 75) | def test_add_init_script_support_multiple_scripts(page: Page) -> None: function test_should_work_with_trailing_comments (line 83) | def test_should_work_with_trailing_comments(page: Page) -> None: FILE: tests/sync/test_assertions.py function test_assertions_page_to_have_title (line 24) | def test_assertions_page_to_have_title(page: Page, server: Server) -> None: function test_assertions_page_to_have_url (line 49) | def test_assertions_page_to_have_url(page: Page, server: Server) -> None: function test_assertions_page_to_have_url_with_base_url (line 74) | def test_assertions_page_to_have_url_with_base_url( function test_assertions_locator_to_contain_text (line 84) | def test_assertions_locator_to_contain_text(page: Page, server: Server) ... function test_assertions_locator_to_have_attribute (line 96) | def test_assertions_locator_to_have_attribute(page: Page, server: Server... function test_assertions_locator_to_have_attribute_ignore_case (line 106) | def test_assertions_locator_to_have_attribute_ignore_case( function test_assertions_locator_to_have_class (line 115) | def test_assertions_locator_to_have_class(page: Page, server: Server) ->... function test_assertions_locator_to_contain_class (line 127) | def test_assertions_locator_to_contain_class(page: Page, server: Server)... function test_assertions_locator_to_have_count (line 153) | def test_assertions_locator_to_have_count(page: Page, server: Server) ->... function test_assertions_locator_to_have_css (line 162) | def test_assertions_locator_to_have_css(page: Page, server: Server) -> N... function test_assertions_locator_to_have_id (line 175) | def test_assertions_locator_to_have_id(page: Page, server: Server) -> None: function test_assertions_locator_to_have_js_property (line 184) | def test_assertions_locator_to_have_js_property(page: Page, server: Serv... function test_to_have_js_property_pass_string (line 200) | def test_to_have_js_property_pass_string(page: Page) -> None: function test_to_have_js_property_fail_string (line 207) | def test_to_have_js_property_fail_string(page: Page) -> None: function test_to_have_js_property_pass_number (line 215) | def test_to_have_js_property_pass_number(page: Page) -> None: function test_to_have_js_property_fail_number (line 222) | def test_to_have_js_property_fail_number(page: Page) -> None: function test_to_have_js_property_pass_boolean (line 230) | def test_to_have_js_property_pass_boolean(page: Page) -> None: function test_to_have_js_property_fail_boolean (line 237) | def test_to_have_js_property_fail_boolean(page: Page) -> None: function test_to_have_js_property_pass_boolean_2 (line 245) | def test_to_have_js_property_pass_boolean_2(page: Page) -> None: function test_to_have_js_property_fail_boolean_2 (line 252) | def test_to_have_js_property_fail_boolean_2(page: Page) -> None: function test_to_have_js_property_pass_null (line 260) | def test_to_have_js_property_pass_null(page: Page) -> None: function test_assertions_locator_to_have_text (line 267) | def test_assertions_locator_to_have_text(page: Page, server: Server) -> ... function test_ignore_case (line 282) | def test_ignore_case(page: Page, server: Server, method: str) -> None: function test_ignore_case_regex (line 326) | def test_ignore_case_regex(page: Page, server: Server, method: str) -> N... function test_assertions_locator_to_have_value (line 388) | def test_assertions_locator_to_have_value(page: Page, server: Server) ->... function test_to_have_values_works_with_text (line 398) | def test_to_have_values_works_with_text(page: Page, server: Server) -> N... function test_to_have_values_follows_labels (line 413) | def test_to_have_values_follows_labels(page: Page, server: Server) -> None: function test_to_have_values_exact_match_with_text (line 429) | def test_to_have_values_exact_match_with_text(page: Page, server: Server... function test_to_have_values_works_with_regex (line 446) | def test_to_have_values_works_with_regex(page: Page, server: Server) -> ... function test_to_have_values_fails_when_items_not_selected (line 461) | def test_to_have_values_fails_when_items_not_selected( function test_to_have_values_fails_when_multiple_not_specified (line 481) | def test_to_have_values_fails_when_multiple_not_specified( function test_to_have_values_fails_when_not_a_select_element (line 500) | def test_to_have_values_fails_when_not_a_select_element( function test_assertions_locator_to_be_checked (line 514) | def test_assertions_locator_to_be_checked(page: Page, server: Server) ->... function test_assertions_boolean_checked_with_intermediate_true (line 531) | def test_assertions_boolean_checked_with_intermediate_true(page: Page) -... function test_assertions_boolean_checked_with_intermediate_true_and_checked (line 537) | def test_assertions_boolean_checked_with_intermediate_true_and_checked( function test_assertions_boolean_fail_with_indeterminate_true (line 548) | def test_assertions_boolean_fail_with_indeterminate_true(page: Page) -> ... function test_assertions_locator_to_be_disabled_enabled (line 556) | def test_assertions_locator_to_be_disabled_enabled(page: Page, server: S... function test_assertions_locator_to_be_enabled_with_true (line 570) | def test_assertions_locator_to_be_enabled_with_true(page: Page) -> None: function test_assertions_locator_to_be_enabled_with_false_throws_good_exception (line 575) | def test_assertions_locator_to_be_enabled_with_false_throws_good_exception( function test_assertions_locator_to_be_enabled_with_false (line 583) | def test_assertions_locator_to_be_enabled_with_false(page: Page) -> None: function test_assertions_locator_to_be_enabled_with_not_and_false (line 588) | def test_assertions_locator_to_be_enabled_with_not_and_false(page: Page)... function test_assertions_locator_to_be_enabled_eventually (line 593) | def test_assertions_locator_to_be_enabled_eventually(page: Page) -> None: function test_assertions_locator_to_be_enabled_eventually_with_not (line 606) | def test_assertions_locator_to_be_enabled_eventually_with_not(page: Page... function test_assertions_locator_to_be_editable (line 619) | def test_assertions_locator_to_be_editable(page: Page, server: Server) -... function test_assertions_locator_to_be_editable_throws (line 625) | def test_assertions_locator_to_be_editable_throws(page: Page, server: Se... function test_assertions_locator_to_be_editable_with_true (line 635) | def test_assertions_locator_to_be_editable_with_true(page: Page) -> None: function test_assertions_locator_to_be_editable_with_false (line 640) | def test_assertions_locator_to_be_editable_with_false(page: Page) -> None: function test_assertions_locator_to_be_editable_with_false_and_throw_good_exception (line 645) | def test_assertions_locator_to_be_editable_with_false_and_throw_good_exc... function test_assertions_locator_to_be_editable_with_not_and_false (line 653) | def test_assertions_locator_to_be_editable_with_not_and_false(page: Page... function test_assertions_locator_to_be_empty (line 658) | def test_assertions_locator_to_be_empty(page: Page, server: Server) -> N... function test_assertions_locator_to_be_focused (line 669) | def test_assertions_locator_to_be_focused(page: Page, server: Server) ->... function test_assertions_locator_to_be_hidden_visible (line 679) | def test_assertions_locator_to_be_hidden_visible(page: Page, server: Ser... function test_assertions_locator_to_be_visible_with_true (line 692) | def test_assertions_locator_to_be_visible_with_true(page: Page) -> None: function test_assertions_locator_to_be_visible_with_false (line 697) | def test_assertions_locator_to_be_visible_with_false(page: Page) -> None: function test_assertions_locator_to_be_visible_with_false_throws_good_exception (line 702) | def test_assertions_locator_to_be_visible_with_false_throws_good_exception( function test_assertions_locator_to_be_visible_with_not_and_false (line 710) | def test_assertions_locator_to_be_visible_with_not_and_false(page: Page)... function test_assertions_locator_to_be_visible_eventually (line 715) | def test_assertions_locator_to_be_visible_eventually(page: Page) -> None: function test_assertions_locator_to_be_visible_eventually_with_not (line 728) | def test_assertions_locator_to_be_visible_eventually_with_not(page: Page... function test_assertions_should_serialize_regexp_correctly (line 741) | def test_assertions_should_serialize_regexp_correctly( function test_assertions_response_is_ok_pass (line 763) | def test_assertions_response_is_ok_pass(page: Page, server: Server) -> N... function test_assertions_response_is_ok_pass_with_not (line 768) | def test_assertions_response_is_ok_pass_with_not(page: Page, server: Ser... function test_assertions_response_is_ok_fail (line 773) | def test_assertions_response_is_ok_fail(page: Page, server: Server) -> N... function test_should_print_response_with_text_content_type_if_to_be_ok_fails (line 782) | def test_should_print_response_with_text_content_type_if_to_be_ok_fails( function test_should_print_users_message_for_page_based_assertion (line 840) | def test_should_print_users_message_for_page_based_assertion( function test_should_print_expected_value_with_custom_message (line 853) | def test_should_print_expected_value_with_custom_message( function test_should_be_attached_default (line 868) | def test_should_be_attached_default(page: Page) -> None: function test_should_be_attached_with_hidden_element (line 874) | def test_should_be_attached_with_hidden_element(page: Page) -> None: function test_should_be_attached_with_not (line 880) | def test_should_be_attached_with_not(page: Page) -> None: function test_should_be_attached_with_attached_true (line 886) | def test_should_be_attached_with_attached_true(page: Page) -> None: function test_should_be_attached_with_attached_false (line 892) | def test_should_be_attached_with_attached_false(page: Page) -> None: function test_should_be_attached_with_attached_false_and_throw_good_error (line 898) | def test_should_be_attached_with_attached_false_and_throw_good_error( function test_should_be_attached_with_not_and_attached_false (line 907) | def test_should_be_attached_with_not_and_attached_false(page: Page) -> N... function test_should_be_attached_eventually (line 913) | def test_should_be_attached_eventually(page: Page) -> None: function test_should_be_attached_eventually_with_not (line 922) | def test_should_be_attached_eventually_with_not(page: Page) -> None: function test_should_be_attached_fail (line 929) | def test_should_be_attached_fail(page: Page) -> None: function test_should_be_attached_fail_with_not (line 939) | def test_should_be_attached_fail_with_not(page: Page) -> None: function test_should_be_attached_with_impossible_timeout (line 947) | def test_should_be_attached_with_impossible_timeout(page: Page) -> None: function test_should_be_attached_with_impossible_timeout_not (line 952) | def test_should_be_attached_with_impossible_timeout_not(page: Page) -> N... function test_should_be_able_to_set_custom_timeout (line 957) | def test_should_be_able_to_set_custom_timeout(page: Page) -> None: function test_should_be_able_to_set_custom_global_timeout (line 963) | def test_should_be_able_to_set_custom_global_timeout(page: Page) -> None: function test_to_have_accessible_name (line 973) | def test_to_have_accessible_name(page: Page) -> None: function test_to_have_accessible_error_message (line 987) | def test_to_have_accessible_error_message(page: Page) -> None: function test_to_have_accessible_error_message_should_handle_multiple_aria_error_message_references (line 1012) | def test_to_have_accessible_error_message_should_handle_multiple_aria_er... function test_to_have_accessible_description (line 1042) | def test_to_have_accessible_description(page: Page) -> None: function test_to_have_role (line 1063) | def test_to_have_role(page: Page) -> None: FILE: tests/sync/test_browser.py function test_should_return_browser_type (line 18) | def test_should_return_browser_type( FILE: tests/sync/test_browsercontext_client_certificates.py function _skip_webkit_darwin (line 35) | def _skip_webkit_darwin(browser_name: str) -> None: class HttpsResource (line 40) | class HttpsResource(resource.Resource): method _verify_cert_chain (line 44) | def _verify_cert_chain(self, cert: Optional[OpenSSL.crypto.X509]) -> b... method render_GET (line 56) | def render_GET(self, request: Request) -> bytes: function _client_certificate_server (line 94) | def _client_certificate_server(assetdir: Path) -> Generator[None, None, ... function test_should_throw_with_untrusted_client_certs (line 118) | def test_should_throw_with_untrusted_client_certs( function test_should_work_with_new_context (line 139) | def test_should_work_with_new_context(browser: Browser, assetdir: Path) ... function test_should_work_with_new_context_passing_as_content (line 171) | def test_should_work_with_new_context_passing_as_content( function test_should_work_with_new_persistent_context (line 209) | def test_should_work_with_new_persistent_context( function test_should_work_with_global_api_request_context (line 237) | def test_should_work_with_global_api_request_context( FILE: tests/sync/test_browsercontext_events.py function test_console_event_should_work (line 24) | def test_console_event_should_work(page: Page) -> None: function test_console_event_should_work_in_popup (line 32) | def test_console_event_should_work_in_popup(page: Page) -> None: function test_console_event_should_work_in_popup_2 (line 49) | def test_console_event_should_work_in_popup_2(page: Page, browser_name: ... function test_console_event_should_work_in_immediately_closed_popup (line 69) | def test_console_event_should_work_in_immediately_closed_popup( function test_dialog_event_should_work1 (line 89) | def test_dialog_event_should_work1(page: Page) -> None: function test_dialog_event_should_work_in_popup1 (line 114) | def test_dialog_event_should_work_in_popup1(page: Page) -> None: function test_dialog_event_should_work_in_popup_2 (line 134) | def test_dialog_event_should_work_in_popup_2(page: Page, browser_name: s... function test_dialog_event_should_work_in_immdiately_closed_popup (line 147) | def test_dialog_event_should_work_in_immdiately_closed_popup(page: Page)... function test_dialog_event_should_work_with_inline_script_tag (line 170) | def test_dialog_event_should_work_with_inline_script_tag( function test_console_event_should_work_with_context_manager (line 197) | def test_console_event_should_work_with_context_manager(page: Page) -> N... function test_weberror_event_should_work (line 205) | def test_weberror_event_should_work(context: BrowserContext, page: Page)... FILE: tests/sync/test_browsercontext_request_fallback.py function _append_with_return_value (line 23) | def _append_with_return_value(values: List, value: Any) -> Any: function test_should_work (line 27) | def test_should_work(page: Page, context: BrowserContext, server: Server... function test_should_fall_back (line 32) | def test_should_fall_back(page: Page, context: BrowserContext, server: S... function test_should_fall_back_async_delayed (line 60) | def test_should_fall_back_async_delayed( function test_should_chain_once (line 80) | def test_should_chain_once(page: Page, context: BrowserContext, server: ... function test_should_not_chain_fulfill (line 94) | def test_should_not_chain_fulfill( function test_should_not_chain_abort (line 116) | def test_should_not_chain_abort( function test_should_fall_back_after_exception (line 143) | def test_should_fall_back_after_exception( function test_should_amend_http_headers (line 159) | def test_should_amend_http_headers( function test_should_delete_header_with_undefined_value (line 183) | def test_should_delete_header_with_undefined_value( function test_should_amend_method (line 233) | def test_should_amend_method( function test_should_override_request_url (line 254) | def test_should_override_request_url( function test_should_amend_post_data (line 283) | def test_should_amend_post_data( function test_should_amend_binary_post_data (line 304) | def test_should_amend_binary_post_data( function test_should_chain_fallback_into_page (line 329) | def test_should_chain_fallback_into_page( FILE: tests/sync/test_browsercontext_request_intercept.py function test_should_fulfill_intercepted_response (line 24) | def test_should_fulfill_intercepted_response( function test_should_fulfill_response_with_empty_body (line 46) | def test_should_fulfill_response_with_empty_body( function test_should_override_with_defaults_when_intercepted_response_not_provided (line 62) | def test_should_override_with_defaults_when_intercepted_response_not_pro... function test_should_fulfill_with_any_response (line 87) | def test_should_fulfill_with_any_response( function test_should_support_fulfill_after_intercept (line 110) | def test_should_support_fulfill_after_intercept( function test_should_show_exception_after_fulfill (line 127) | def test_should_show_exception_after_fulfill(page: Page, server: Server)... FILE: tests/sync/test_browsercontext_service_worker_policy.py function test_should_allow_service_workers_by_default (line 18) | def test_should_allow_service_workers_by_default( function test_block_blocks_service_worker_registration (line 28) | def test_block_blocks_service_worker_registration( FILE: tests/sync/test_browsercontext_storage_state.py function test_should_capture_local_storage (line 22) | def test_should_capture_local_storage(context: BrowserContext) -> None: function test_should_set_local_storage (line 44) | def test_should_set_local_storage(browser: Browser) -> None: function test_should_round_trip_through_the_file (line 95) | def test_should_round_trip_through_the_file( function test_should_serialise_indexed_db (line 132) | def test_should_serialise_indexed_db(page: Page, server: Server) -> None: FILE: tests/sync/test_browsertype_connect.py function test_browser_type_connect_slow_mo (line 27) | def test_browser_type_connect_slow_mo( function test_browser_type_connect_should_be_able_to_reconnect_to_a_browser (line 41) | def test_browser_type_connect_should_be_able_to_reconnect_to_a_browser( function test_browser_type_connect_should_be_able_to_connect_two_browsers_at_the_same_time (line 61) | def test_browser_type_connect_should_be_able_to_connect_two_browsers_at_... function test_browser_type_connect_disconnected_event_should_be_emitted_when_browser_is_closed_or_server_is_closed (line 84) | def test_browser_type_connect_disconnected_event_should_be_emitted_when_... function test_browser_type_disconnected_event_should_have_browser_as_argument (line 113) | def test_browser_type_disconnected_event_should_have_browser_as_argument( function test_browser_type_connect_set_browser_connected_state (line 124) | def test_browser_type_connect_set_browser_connected_state( function test_browser_type_connect_should_throw_when_used_after_is_connected_returns_false (line 134) | def test_browser_type_connect_should_throw_when_used_after_is_connected_... function test_browser_type_connect_should_forward_close_events_to_pages (line 149) | def test_browser_type_connect_should_forward_close_events_to_pages( function test_browser_type_connect_should_forward_close_events_on_remote_kill (line 170) | def test_browser_type_connect_should_forward_close_events_on_remote_kill( function test_connect_to_closed_server_without_hangs (line 190) | def test_connect_to_closed_server_without_hangs( function test_browser_type_connect_should_fulfill_with_global_fetch_result (line 200) | def test_browser_type_connect_should_fulfill_with_global_fetch_result( function test_set_input_files_should_preserve_last_modified_timestamp (line 228) | def test_set_input_files_should_preserve_last_modified_timestamp( FILE: tests/sync/test_browsertype_connect_cdp.py function test_connect_to_an_existing_cdp_session (line 25) | def test_connect_to_an_existing_cdp_session( FILE: tests/sync/test_cdp_session.py function test_should_work (line 23) | def test_should_work(page: Page) -> None: function test_should_receive_events (line 39) | def test_should_receive_events(page: Page, server: Server) -> None: function test_should_be_able_to_detach_session (line 49) | def test_should_be_able_to_detach_session(page: Page) -> None: function test_should_not_break_page_close (line 63) | def test_should_not_break_page_close(browser: Browser) -> None: function test_should_detach_when_page_closes (line 73) | def test_should_detach_when_page_closes(browser: Browser) -> None: FILE: tests/sync/test_check.py function test_check_the_box (line 18) | def test_check_the_box(page: Page) -> None: function test_not_check_the_checked_box (line 24) | def test_not_check_the_checked_box(page: Page) -> None: function test_uncheck_the_box (line 30) | def test_uncheck_the_box(page: Page) -> None: function test_not_uncheck_the_unchecked_box (line 36) | def test_not_uncheck_the_unchecked_box(page: Page) -> None: function test_check_the_box_by_label (line 42) | def test_check_the_box_by_label(page: Page) -> None: function test_check_the_box_outside_label (line 50) | def test_check_the_box_outside_label(page: Page) -> None: function test_check_the_box_inside_label_without_id (line 58) | def test_check_the_box_inside_label_without_id(page: Page) -> None: function test_check_radio (line 66) | def test_check_radio(page: Page) -> None: function test_check_the_box_by_aria_role (line 77) | def test_check_the_box_by_aria_role(page: Page) -> None: FILE: tests/sync/test_console.py function test_console_should_work (line 23) | def test_console_should_work(page: Page, browser_name: str) -> None: function test_console_should_emit_same_log_twice (line 42) | def test_console_should_emit_same_log_twice(page: Page) -> None: function test_console_should_use_text_for__str__ (line 49) | def test_console_should_use_text_for__str__(page: Page) -> None: function test_console_should_work_for_different_console_api_calls (line 57) | def test_console_should_work_for_different_console_api_calls(page: Page)... function test_console_should_not_fail_for_window_object (line 92) | def test_console_should_not_fail_for_window_object( function test_console_should_trigger_correct_Log (line 108) | def test_console_should_trigger_correct_Log(page: Page, server: Server) ... function test_console_should_have_location_for_console_api_calls (line 119) | def test_console_should_have_location_for_console_api_calls( function test_console_should_not_throw_when_there_are_console_messages_in_detached_iframes (line 134) | def test_console_should_not_throw_when_there_are_console_messages_in_det... FILE: tests/sync/test_context_manager.py function test_context_managers (line 22) | def test_context_managers(browser_type: BrowserType, launch_arguments: D... function test_context_managers_not_hang (line 33) | def test_context_managers_not_hang(context: BrowserContext) -> None: FILE: tests/sync/test_element_handle.py function test_bounding_box (line 24) | def test_bounding_box(page: Page, server: Server) -> None: function test_bounding_box_handle_nested_frames (line 33) | def test_bounding_box_handle_nested_frames(page: Page, server: Server) -... function test_bounding_box_return_null_for_invisible_elements (line 44) | def test_bounding_box_return_null_for_invisible_elements(page: Page) -> ... function test_bounding_box_force_a_layout (line 51) | def test_bounding_box_force_a_layout(page: Page) -> None: function test_bounding_box_with_SVG_nodes (line 61) | def test_bounding_box_with_SVG_nodes(page: Page) -> None: function test_bounding_box_with_page_scale (line 81) | def test_bounding_box_with_page_scale(browser: Browser, server: Server) ... function test_bounding_box_when_inline_box_child_is_outside_of_viewport (line 109) | def test_bounding_box_when_inline_box_child_is_outside_of_viewport(page:... function test_content_frame (line 147) | def test_content_frame(page: Page, server: Server, utils: Utils) -> None: function test_content_frame_for_non_iframes (line 156) | def test_content_frame_for_non_iframes( function test_content_frame_for_document_element (line 167) | def test_content_frame_for_document_element( function test_owner_frame (line 178) | def test_owner_frame(page: Page, server: Server, utils: Utils) -> None: function test_owner_frame_for_cross_process_iframes (line 187) | def test_owner_frame_for_cross_process_iframes( function test_owner_frame_for_document (line 198) | def test_owner_frame_for_document(page: Page, server: Server, utils: Uti... function test_owner_frame_for_iframe_elements (line 207) | def test_owner_frame_for_iframe_elements( function test_owner_frame_for_cross_frame_evaluations (line 220) | def test_owner_frame_for_cross_frame_evaluations( function test_owner_frame_for_detached_elements (line 233) | def test_owner_frame_for_detached_elements(page: Page, server: Server) -... function test_click (line 254) | def test_click(page: Page, server: Server) -> None: function test_click_with_node_removed (line 262) | def test_click_with_node_removed(page: Page, server: Server) -> None: function test_click_for_shadow_dom_v1 (line 271) | def test_click_for_shadow_dom_v1(page: Page, server: Server) -> None: function test_click_for_TextNodes (line 279) | def test_click_for_TextNodes(page: Page, server: Server) -> None: function test_click_throw_for_detached_nodes (line 289) | def test_click_throw_for_detached_nodes(page: Page, server: Server) -> N... function test_click_throw_for_hidden_nodes_with_force (line 299) | def test_click_throw_for_hidden_nodes_with_force(page: Page, server: Ser... function test_click_throw_for_recursively_hidden_nodes_with_force (line 309) | def test_click_throw_for_recursively_hidden_nodes_with_force( function test_click_throw_for__br__elements_with_force (line 321) | def test_click_throw_for__br__elements_with_force(page: Page) -> None: function test_double_click_the_button (line 330) | def test_double_click_the_button(page: Page, server: Server) -> None: function test_hover (line 348) | def test_hover(page: Page, server: Server) -> None: function test_hover_when_node_is_removed (line 356) | def test_hover_when_node_is_removed(page: Page, server: Server) -> None: function test_scroll (line 365) | def test_scroll(page: Page, server: Server) -> None: function test_scroll_should_throw_for_detached_element (line 388) | def test_scroll_should_throw_for_detached_element(page: Page) -> None: function test_should_timeout_waiting_for_visible (line 398) | def test_should_timeout_waiting_for_visible(page: Page) -> None: function test_fill_input (line 408) | def test_fill_input(page: Page, server: Server) -> None: function test_fill_input_when_Node_is_removed (line 416) | def test_fill_input_when_Node_is_removed(page: Page, server: Server) -> ... function test_select_textarea (line 425) | def test_select_textarea( function test_select_input (line 440) | def test_select_input( function test_select_text_select_plain_div (line 455) | def test_select_text_select_plain_div(page: Page, server: Server) -> None: function test_select_text_timeout_waiting_for_invisible_element (line 463) | def test_select_text_timeout_waiting_for_invisible_element( function test_a_nice_preview (line 475) | def test_a_nice_preview(page: Page, server: Server) -> None: function test_get_attribute (line 491) | def test_get_attribute(page: Page, server: Server) -> None: function test_inner_html (line 499) | def test_inner_html(page: Page, server: Server) -> None: function test_inner_text (line 507) | def test_inner_text(page: Page, server: Server) -> None: function test_inner_text_should_throw (line 515) | def test_inner_text_should_throw(page: Page) -> None: function test_text_content (line 528) | def test_text_content(page: Page, server: Server) -> None: function test_check_the_box (line 536) | def test_check_the_box(page: Page) -> None: function test_uncheck_the_box (line 544) | def test_uncheck_the_box(page: Page) -> None: function test_select_single_option (line 552) | def test_select_single_option(page: Page, server: Server) -> None: function test_focus_a_button (line 561) | def test_focus_a_button(page: Page, server: Server) -> None: function test_is_visible_and_is_hidden_should_work (line 570) | def test_is_visible_and_is_hidden_should_work(page: Page) -> None: function test_is_enabled_and_is_disabled_should_work (line 586) | def test_is_enabled_and_is_disabled_should_work(page: Page) -> None: function test_is_editable_should_work (line 614) | def test_is_editable_should_work(page: Page) -> None: function test_is_checked_should_work (line 631) | def test_is_checked_should_work(page: Page) -> None: function test_input_value (line 645) | def test_input_value(page: Page, server: Server) -> None: function test_set_checked (line 656) | def test_set_checked(page: Page) -> None: function test_should_allow_disposing_twice (line 666) | def test_should_allow_disposing_twice(page: Page) -> None: FILE: tests/sync/test_element_handle_wait_for_element_state.py function test_should_wait_for_visible (line 20) | def test_should_wait_for_visible(page: Page) -> None: function test_should_wait_for_already_visible (line 30) | def test_should_wait_for_already_visible(page: Page) -> None: function test_should_timeout_waiting_for_visible (line 37) | def test_should_timeout_waiting_for_visible(page: Page) -> None: function test_should_throw_waiting_for_visible_when_detached (line 46) | def test_should_throw_waiting_for_visible_when_detached(page: Page) -> N... function test_should_wait_for_hidden (line 56) | def test_should_wait_for_hidden(page: Page) -> None: function test_should_wait_for_already_hidden (line 66) | def test_should_wait_for_already_hidden(page: Page) -> None: function test_should_wait_for_hidden_when_detached (line 73) | def test_should_wait_for_hidden_when_detached(page: Page) -> None: function test_should_wait_for_enabled_button (line 82) | def test_should_wait_for_enabled_button(page: Page) -> None: function test_should_throw_waiting_for_enabled_when_detached (line 92) | def test_should_throw_waiting_for_enabled_when_detached(page: Page) -> N... function test_should_wait_for_disabled_button (line 102) | def test_should_wait_for_disabled_button(page: Page) -> None: function test_should_wait_for_editable_input (line 112) | def test_should_wait_for_editable_input(page: Page) -> None: FILE: tests/sync/test_expect_misc.py function test_to_be_in_viewport_should_work (line 21) | def test_to_be_in_viewport_should_work(page: Page) -> None: function test_to_be_in_viewport_should_respect_ratio_option (line 35) | def test_to_be_in_viewport_should_respect_ratio_option( function test_to_be_in_viewport_should_have_good_stack (line 57) | def test_to_be_in_viewport_should_have_good_stack(page: Page, server: Se... function test_to_be_in_viewport_should_report_intersection_even_if_fully_covered_by_other_element (line 63) | def test_to_be_in_viewport_should_report_intersection_even_if_fully_cove... FILE: tests/sync/test_extension.py function launch_persistent_context (line 24) | def launch_persistent_context( function test_should_give_access_to_the_service_worker (line 60) | def test_should_give_access_to_the_service_worker( function test_should_give_access_to_the_service_worker_when_recording_video (line 81) | def test_should_give_access_to_the_service_worker_when_recording_video( FILE: tests/sync/test_fetch_browser_context.py function test_get_should_work (line 26) | def test_get_should_work(context: BrowserContext, server: Server) -> None: function test_fetch_should_work (line 40) | def test_fetch_should_work(context: BrowserContext, server: Server) -> N... function test_should_throw_on_network_error (line 54) | def test_should_throw_on_network_error(context: BrowserContext, server: ... function test_should_add_session_cookies_to_request (line 60) | def test_should_add_session_cookies_to_request( function test_should_support_query_params (line 84) | def test_should_support_query_params( function test_should_support_params_passed_as_object (line 102) | def test_should_support_params_passed_as_object( function test_should_support_params_passed_as_strings (line 119) | def test_should_support_params_passed_as_strings( function test_should_support_fail_on_status_code (line 135) | def test_should_support_fail_on_status_code( function test_should_support_ignore_https_errors_option (line 148) | def test_should_support_ignore_https_errors_option( function test_should_not_add_context_cookie_if_cookie_header_passed_as_parameter (line 158) | def test_should_not_add_context_cookie_if_cookie_header_passed_as_parame... function test_should_support_post_data (line 180) | def test_should_support_post_data( function test_should_support_application_x_www_form_urlencoded (line 204) | def test_should_support_application_x_www_form_urlencoded( function test_should_support_multipart_form_data (line 229) | def test_should_support_multipart_form_data( function test_should_add_default_headers (line 258) | def test_should_add_default_headers( FILE: tests/sync/test_fetch_global.py function test_should_work (line 28) | def test_should_work(playwright: Playwright, method: str, server: Server... function test_should_dispose_global_request (line 43) | def test_should_dispose_global_request(playwright: Playwright, server: S... function test_should_support_global_user_agent_option (line 52) | def test_should_support_global_user_agent_option( function test_should_support_global_timeout_option (line 65) | def test_should_support_global_timeout_option( function test_should_support_timeout_option_in_get_method (line 74) | def test_should_support_timeout_option_in_get_method( function test_should_propagate_extra_http_headers_with_redirects (line 83) | def test_should_propagate_extra_http_headers_with_redirects( function test_should_support_global_http_credentials_option (line 98) | def test_should_support_global_http_credentials_option( function test_should_return_error_with_wrong_credentials (line 116) | def test_should_return_error_with_wrong_credentials( function test_should_work_with_correct_credentials_and_matching_origin (line 128) | def test_should_work_with_correct_credentials_and_matching_origin( function test_should_work_with_correct_credentials_and_matching_origin_case_insensitive (line 144) | def test_should_work_with_correct_credentials_and_matching_origin_case_i... function test_should_return_error_with_correct_credentials_and_mismatching_scheme (line 160) | def test_should_return_error_with_correct_credentials_and_mismatching_sc... function test_should_return_error_with_correct_credentials_and_mismatching_hostname (line 176) | def test_should_return_error_with_correct_credentials_and_mismatching_ho... function test_should_return_error_with_correct_credentials_and_mismatching_port (line 191) | def test_should_return_error_with_correct_credentials_and_mismatching_port( function test_should_support_global_ignore_https_errors_option (line 204) | def test_should_support_global_ignore_https_errors_option( function test_should_resolve_url_relative_to_global_base_url_option (line 215) | def test_should_resolve_url_relative_to_global_base_url_option( function test_should_use_playwright_as_a_user_agent (line 226) | def test_should_use_playwright_as_a_user_agent( function test_should_return_empty_body (line 236) | def test_should_return_empty_body(playwright: Playwright, server: Server... function test_storage_state_should_round_trip_through_file (line 247) | def test_storage_state_should_round_trip_through_file( function test_should_throw_an_error_when_max_redirects_is_exceeded (line 278) | def test_should_throw_an_error_when_max_redirects_is_exceeded( function test_should_not_follow_redirects_when_max_redirects_is_set_to_0 (line 298) | def test_should_not_follow_redirects_when_max_redirects_is_set_to_0( function test_should_throw_an_error_when_max_redirects_is_less_than_0 (line 313) | def test_should_throw_an_error_when_max_redirects_is_less_than_0( function test_should_serialize_null_values_in_json (line 326) | def test_should_serialize_null_values_in_json( function test_should_throw_when_fail_on_status_code_is_true (line 337) | def test_should_throw_when_fail_on_status_code_is_true( function test_should_not_throw_when_fail_on_status_code_is_false (line 356) | def test_should_not_throw_when_fail_on_status_code_is_false( function test_should_follow_max_redirects (line 375) | def test_should_follow_max_redirects(playwright: Playwright, server: Ser... FILE: tests/sync/test_fill.py function test_fill_textarea (line 19) | def test_fill_textarea(page: Page, server: Server) -> None: function test_fill_input (line 25) | def test_fill_input(page: Page, server: Server) -> None: FILE: tests/sync/test_har.py function test_should_work (line 28) | def test_should_work(browser: Browser, server: Server, tmp_path: Path) -... function test_should_omit_content (line 39) | def test_should_omit_content(browser: Browser, server: Server, tmp_path:... function test_should_omit_content_legacy (line 55) | def test_should_omit_content_legacy( function test_should_attach_content (line 73) | def test_should_attach_content( function test_should_include_content (line 132) | def test_should_include_content( function test_should_default_to_full_mode (line 150) | def test_should_default_to_full_mode( function test_should_support_minimal_mode (line 167) | def test_should_support_minimal_mode( function test_should_filter_by_glob (line 185) | def test_should_filter_by_glob(browser: Browser, server: Server, tmp_pat... function test_should_filter_by_regexp (line 204) | def test_should_filter_by_regexp( function test_should_context_route_from_har_matching_the_method_and_following_redirects (line 225) | def test_should_context_route_from_har_matching_the_method_and_following... function test_should_page_route_from_har_matching_the_method_and_following_redirects (line 237) | def test_should_page_route_from_har_matching_the_method_and_following_re... function test_fallback_continue_should_continue_when_not_found_in_har (line 248) | def test_fallback_continue_should_continue_when_not_found_in_har( function test_by_default_should_abort_requests_not_found_in_har (line 257) | def test_by_default_should_abort_requests_not_found_in_har( function test_fallback_continue_should_continue_requests_on_bad_har (line 278) | def test_fallback_continue_should_continue_requests_on_bad_har( function test_should_only_handle_requests_matching_url_filter (line 290) | def test_should_only_handle_requests_matching_url_filter( function test_should_only_handle_requests_matching_url_filter_no_fallback (line 312) | def test_should_only_handle_requests_matching_url_filter_no_fallback( function test_should_only_handle_requests_matching_url_filter_no_fallback_page (line 332) | def test_should_only_handle_requests_matching_url_filter_no_fallback_page( function test_should_support_regex_filter (line 351) | def test_should_support_regex_filter( function test_should_go_back_to_redirected_navigation (line 364) | def test_should_go_back_to_redirected_navigation( function test_should_go_forward_to_redirected_navigation (line 385) | def test_should_go_forward_to_redirected_navigation( function test_should_reload_redirected_navigation (line 406) | def test_should_reload_redirected_navigation( function test_should_fulfill_from_har_with_content_in_a_file (line 422) | def test_should_fulfill_from_har_with_content_in_a_file( function test_should_round_trip_har_zip (line 431) | def test_should_round_trip_har_zip( function test_should_round_trip_har_with_post_data (line 449) | def test_should_round_trip_har_with_post_data( function test_should_disambiguate_by_header (line 483) | def test_should_disambiguate_by_header( function test_should_produce_extracted_zip (line 525) | def test_should_produce_extracted_zip( function test_should_update_har_zip_for_context (line 551) | def test_should_update_har_zip_for_context( function test_should_update_har_zip_for_page (line 572) | def test_should_update_har_zip_for_page( function test_should_update_har_zip_for_page_with_different_options (line 593) | def test_should_update_har_zip_for_page_with_different_options( function test_should_update_extracted_har_zip_for_page (line 614) | def test_should_update_extracted_har_zip_for_page( FILE: tests/sync/test_input.py function test_expect_file_chooser (line 22) | def test_expect_file_chooser(page: Page) -> None: function test_set_input_files_should_preserve_last_modified_timestamp (line 32) | def test_set_input_files_should_preserve_last_modified_timestamp( FILE: tests/sync/test_launcher.py function test_browser_type_launch_should_throw_if_page_argument_is_passed (line 25) | def test_browser_type_launch_should_throw_if_page_argument_is_passed( function test_browser_type_launch_should_reject_if_launched_browser_fails_immediately (line 33) | def test_browser_type_launch_should_reject_if_launched_browser_fails_imm... function test_browser_type_launch_should_reject_if_executable_path_is_invalid (line 43) | def test_browser_type_launch_should_reject_if_executable_path_is_invalid( function test_browser_type_executable_path_should_work (line 51) | def test_browser_type_executable_path_should_work( function test_browser_type_name_should_work (line 61) | def test_browser_type_name_should_work( function test_browser_close_should_fire_close_event_for_all_contexts (line 74) | def test_browser_close_should_fire_close_event_for_all_contexts( function test_browser_close_should_be_callable_twice (line 85) | def test_browser_close_should_be_callable_twice( FILE: tests/sync/test_listeners.py function test_listeners (line 20) | def test_listeners(page: Page, server: Server) -> None: FILE: tests/sync/test_locator_get_by.py function test_get_by_test_id (line 20) | def test_get_by_test_id(page: Page) -> None: function test_get_by_test_id_escape_id (line 27) | def test_get_by_test_id_escape_id(page: Page) -> None: function test_get_by_text (line 32) | def test_get_by_text(page: Page) -> None: function test_get_by_label (line 54) | def test_get_by_label(page: Page) -> None: function test_get_by_label_with_nested_elements (line 71) | def test_get_by_label_with_nested_elements(page: Page) -> None: function test_get_by_placeholder (line 91) | def test_get_by_placeholder(page: Page) -> None: function test_get_by_alt_text (line 112) | def test_get_by_alt_text(page: Page) -> None: function test_get_by_title (line 133) | def test_get_by_title(page: Page) -> None: function test_get_by_escaping (line 154) | def test_get_by_escaping(page: Page) -> None: function test_get_by_role (line 200) | def test_get_by_role(page: Page) -> None: FILE: tests/sync/test_locators.py function test_locators_click_should_work (line 31) | def test_locators_click_should_work(page: Page, server: Server) -> None: function test_locators_click_should_work_with_node_removed (line 38) | def test_locators_click_should_work_with_node_removed( function test_locators_click_should_work_for_text_nodes (line 48) | def test_locators_click_should_work_for_text_nodes(page: Page, server: S... function test_locators_should_have_repr (line 65) | def test_locators_should_have_repr(page: Page, server: Server) -> None: function test_locators_get_attribute_should_work (line 75) | def test_locators_get_attribute_should_work(page: Page, server: Server) ... function test_locators_input_value_should_work (line 82) | def test_locators_input_value_should_work(page: Page, server: Server) ->... function test_locators_inner_html_should_work (line 89) | def test_locators_inner_html_should_work(page: Page, server: Server) -> ... function test_locators_inner_text_should_work (line 95) | def test_locators_inner_text_should_work(page: Page, server: Server) -> ... function test_locators_text_content_should_work (line 101) | def test_locators_text_content_should_work(page: Page, server: Server) -... function test_locators_is_hidden_and_is_visible_should_work (line 107) | def test_locators_is_hidden_and_is_visible_should_work(page: Page) -> None: function test_locators_is_enabled_and_is_disabled_should_work (line 119) | def test_locators_is_enabled_and_is_disabled_should_work(page: Page) -> ... function test_locators_is_editable_should_work (line 141) | def test_locators_is_editable_should_work(page: Page) -> None: function test_locators_is_checked_should_work (line 155) | def test_locators_is_checked_should_work(page: Page) -> None: function test_locators_all_text_contents_should_work (line 168) | def test_locators_all_text_contents_should_work(page: Page) -> None: function test_locators_all_inner_texts (line 179) | def test_locators_all_inner_texts(page: Page) -> None: function test_locators_should_query_existing_element (line 190) | def test_locators_should_query_existing_element(page: Page, server: Serv... function test_locators_evaluate_handle_should_work (line 201) | def test_locators_evaluate_handle_should_work(page: Page, server: Server... function test_locators_should_query_existing_elements (line 223) | def test_locators_should_query_existing_elements(page: Page) -> None: function test_locators_return_empty_array_for_non_existing_elements (line 234) | def test_locators_return_empty_array_for_non_existing_elements(page: Pag... function test_locators_evaluate_all_should_work (line 242) | def test_locators_evaluate_all_should_work(page: Page) -> None: function test_locators_evaluate_all_should_work_with_missing_selector (line 251) | def test_locators_evaluate_all_should_work_with_missing_selector(page: P... function test_locators_hover_should_work (line 258) | def test_locators_hover_should_work(page: Page, server: Server) -> None: function test_locators_fill_should_work (line 265) | def test_locators_fill_should_work(page: Page, server: Server) -> None: function test_locators_clear_should_work (line 272) | def test_locators_clear_should_work(page: Page, server: Server) -> None: function test_locators_check_should_work (line 281) | def test_locators_check_should_work(page: Page) -> None: function test_locators_uncheck_should_work (line 288) | def test_locators_uncheck_should_work(page: Page) -> None: function test_locators_select_option_should_work (line 295) | def test_locators_select_option_should_work(page: Page, server: Server) ... function test_locators_focus_should_work (line 303) | def test_locators_focus_should_work(page: Page, server: Server) -> None: function test_locators_dispatch_event_should_work (line 311) | def test_locators_dispatch_event_should_work(page: Page, server: Server)... function test_locators_should_upload_a_file (line 318) | def test_locators_should_upload_a_file(page: Page, server: Server) -> None: function test_locators_upload_nonexistant_file (line 330) | def test_locators_upload_nonexistant_file(page: Page, server: Server) ->... function test_locators_should_press (line 336) | def test_locators_should_press(page: Page) -> None: function test_locators_should_scroll_into_view (line 342) | def test_locators_should_scroll_into_view(page: Page, server: Server) ->... function test_locators_should_select_textarea (line 358) | def test_locators_should_select_textarea( function test_locators_should_type (line 373) | def test_locators_should_type(page: Page) -> None: function test_locators_should_screenshot (line 379) | def test_locators_should_screenshot( function test_locators_should_return_bounding_box (line 397) | def test_locators_should_return_bounding_box(page: Page, server: Server)... function test_locators_should_respect_first_and_last (line 415) | def test_locators_should_respect_first_and_last(page: Page) -> None: function test_locators_should_respect_nth (line 430) | def test_locators_should_respect_nth(page: Page) -> None: function test_locators_should_throw_on_capture_without_nth (line 444) | def test_locators_should_throw_on_capture_without_nth(page: Page) -> None: function test_locators_should_throw_due_to_strictness (line 454) | def test_locators_should_throw_due_to_strictness(page: Page) -> None: function test_locators_should_throw_due_to_strictness_2 (line 464) | def test_locators_should_throw_due_to_strictness_2(page: Page) -> None: function test_locators_set_checked (line 474) | def test_locators_set_checked(page: Page) -> None: function test_should_combine_visible_with_other_selectors (line 483) | def test_should_combine_visible_with_other_selectors(page: Page) -> None: function test_should_support_filter_visible (line 502) | def test_should_support_filter_visible(page: Page) -> None: function test_locator_count_should_work_with_deleted_map_in_main_world (line 524) | def test_locator_count_should_work_with_deleted_map_in_main_world(page: ... function test_locator_locator_and_framelocator_locator_should_accept_locator (line 530) | def test_locator_locator_and_framelocator_locator_should_accept_locator( function route_iframe (line 557) | def route_iframe(page: Page) -> None: function test_locators_frame_should_work_with_iframe (line 588) | def test_locators_frame_should_work_with_iframe(page: Page, server: Serv... function test_locators_frame_should_work_for_nested_iframe (line 601) | def test_locators_frame_should_work_for_nested_iframe( function test_locators_frame_should_work_with_locator_frame_locator (line 612) | def test_locators_frame_should_work_with_locator_frame_locator( function test_locator_content_frame_should_work (line 623) | def test_locator_content_frame_should_work(page: Page, server: Server) -... function test_frame_locator_owner_should_work (line 634) | def test_frame_locator_owner_should_work(page: Page, server: Server) -> ... function route_ambiguous (line 643) | def route_ambiguous(page: Page) -> None: function test_locator_frame_locator_should_throw_on_ambiguity (line 664) | def test_locator_frame_locator_should_throw_on_ambiguity( function test_locator_frame_locator_should_not_throw_on_first_last_nth (line 677) | def test_locator_frame_locator_should_not_throw_on_first_last_nth( function test_drag_to (line 690) | def test_drag_to(page: Page, server: Server) -> None: function test_locator_query_should_filter_by_text (line 701) | def test_locator_query_should_filter_by_text(page: Page, server: Server)... function test_locator_query_should_filter_by_text_2 (line 706) | def test_locator_query_should_filter_by_text_2(page: Page, server: Serve... function test_locator_query_should_filter_by_regex (line 713) | def test_locator_query_should_filter_by_regex(page: Page, server: Server... function test_locator_query_should_filter_by_text_with_quotes (line 718) | def test_locator_query_should_filter_by_text_with_quotes( function test_locator_query_should_filter_by_regex_with_quotes (line 725) | def test_locator_query_should_filter_by_regex_with_quotes( function test_locator_query_should_filter_by_regex_and_regexp_flags (line 734) | def test_locator_query_should_filter_by_regex_and_regexp_flags( function test_locator_should_return_page (line 743) | def test_locator_should_return_page(page: Page, server: Server) -> None: function test_locator_should_support_has_locator (line 755) | def test_locator_should_support_has_locator(page: Page, server: Server) ... function test_locator_should_enforce_same_frame_for_has_locator (line 789) | def test_locator_should_enforce_same_frame_for_has_locator( function test_locator_should_support_locator_or (line 801) | def test_locator_should_support_locator_or(page: Page, server: Server) -... function test_locator_highlight_should_work (line 817) | def test_locator_highlight_should_work(page: Page, server: Server) -> None: function test_should_support_locator_that (line 823) | def test_should_support_locator_that(page: Page) -> None: function test_should_filter_by_case_insensitive_regex_in_a_child (line 853) | def test_should_filter_by_case_insensitive_regex_in_a_child(page: Page) ... function test_should_filter_by_case_insensitive_regex_in_multiple_children (line 860) | def test_should_filter_by_case_insensitive_regex_in_multiple_children( function test_should_filter_by_regex_with_special_symbols (line 869) | def test_should_filter_by_regex_with_special_symbols(page: Page) -> None: function test_should_support_locator_filter (line 878) | def test_should_support_locator_filter(page: Page) -> None: function test_locators_should_support_locator_and (line 916) | def test_locators_should_support_locator_and(page: Page) -> None: function test_locators_has_does_not_encode_unicode (line 935) | def test_locators_has_does_not_encode_unicode(page: Page, server: Server... function test_locators_should_focus_and_blur_a_button (line 948) | def test_locators_should_focus_and_blur_a_button(page: Page, server: Ser... function test_locator_all_should_work (line 984) | def test_locator_all_should_work(page: Page) -> None: function test_locator_click_timeout_error_should_contain_call_log (line 992) | def test_locator_click_timeout_error_should_contain_call_log(page: Page)... function test_locator_should_ignore_deprecated_is_hidden_and_visible_timeout (line 1008) | def test_locator_should_ignore_deprecated_is_hidden_and_visible_timeout( FILE: tests/sync/test_network.py function test_response_server_addr (line 21) | def test_response_server_addr(page: Page, server: Server) -> None: function test_response_security_details (line 30) | def test_response_security_details( function test_response_security_details_none_without_https (line 69) | def test_response_security_details_none_without_https( function test_should_fulfill_with_global_fetch_result (line 78) | def test_should_fulfill_with_global_fetch_result( function test_should_report_if_response_was_from_service_worker (line 95) | def test_should_report_if_response_was_from_service_worker( function test_should_report_service_worker_request (line 108) | def test_should_report_service_worker_request(page: Page, server: Server... FILE: tests/sync/test_page.py function test_input_value (line 21) | def test_input_value(page: Page, server: Server) -> None: function test_drag_and_drop_helper_method (line 31) | def test_drag_and_drop_helper_method(page: Page, server: Server) -> None: function test_should_check_box_using_set_checked (line 42) | def test_should_check_box_using_set_checked(page: Page) -> None: function test_should_set_bodysize_and_headersize (line 50) | def test_should_set_bodysize_and_headersize(page: Page, server: Server) ... function test_should_set_bodysize_to_0 (line 62) | def test_should_set_bodysize_to_0(page: Page, server: Server) -> None: function test_sync_stacks_should_work (line 73) | def test_sync_stacks_should_work(page: Page, server: Server) -> None: function test_emitted_for_domcontentloaded_and_load (line 81) | def test_emitted_for_domcontentloaded_and_load(page: Page, server: Serve... function test_page_pause_should_reset_default_timeouts (line 89) | def test_page_pause_should_reset_default_timeouts( function test_page_pause_should_reset_custom_timeouts (line 101) | def test_page_pause_should_reset_custom_timeouts( function test_page_should_ignore_deprecated_is_hidden_and_visible_timeout (line 119) | def test_page_should_ignore_deprecated_is_hidden_and_visible_timeout( FILE: tests/sync/test_page_add_locator_handler.py function test_should_work (line 23) | def test_should_work(page: Page, server: Server) -> None: function test_should_work_with_a_custom_check (line 68) | def test_should_work_with_a_custom_check(page: Page, server: Server) -> ... function test_should_work_with_locator_hover (line 93) | def test_should_work_with_locator_hover(page: Page, server: Server) -> N... function test_should_not_work_with_force_true (line 115) | def test_should_not_work_with_force_true(page: Page, server: Server) -> ... function test_should_throw_when_page_closes (line 130) | def test_should_throw_when_page_closes(page: Page, server: Server) -> None: function test_should_throw_when_handler_times_out (line 146) | def test_should_throw_when_handler_times_out(page: Page, server: Server)... function test_should_work_with_to_be_visible (line 180) | def test_should_work_with_to_be_visible(page: Page, server: Server) -> N... function test_should_work_when_owner_frame_detaches (line 202) | def test_should_work_when_owner_frame_detaches(page: Page, server: Serve... function test_should_work_with_times_option (line 234) | def test_should_work_with_times_option(page: Page, server: Server) -> None: function test_should_wait_for_hidden_by_default (line 266) | def test_should_wait_for_hidden_by_default(page: Page, server: Server) -... function test_should_wait_for_hidden_by_default_2 (line 291) | def test_should_wait_for_hidden_by_default_2(page: Page, server: Server)... function test_should_work_with_noWaitAfter (line 320) | def test_should_work_with_noWaitAfter(page: Page, server: Server) -> None: function test_should_removeLocatorHandler (line 350) | def test_should_removeLocatorHandler(page: Page, server: Server) -> None: FILE: tests/sync/test_page_aria_snapshot.py function _unshift (line 22) | def _unshift(snapshot: str) -> str: function check_and_match_snapshot (line 36) | def check_and_match_snapshot(locator: Locator, snapshot: str) -> None: function test_should_snapshot (line 41) | def test_should_snapshot(page: Page) -> None: function test_should_snapshot_list (line 51) | def test_should_snapshot_list(page: Page) -> None: function test_should_snapshot_list_with_list (line 62) | def test_should_snapshot_list_with_list(page: Page) -> None: function test_should_snapshot_list_with_accessible_name (line 74) | def test_should_snapshot_list_with_accessible_name(page: Page) -> None: function test_should_snapshot_complex (line 86) | def test_should_snapshot_complex(page: Page) -> None: function test_should_snapshot_with_unexpected_children_equal (line 99) | def test_should_snapshot_with_unexpected_children_equal(page: Page) -> N... function test_should_snapshot_with_unexpected_children_deep_equal (line 128) | def test_should_snapshot_with_unexpected_children_deep_equal(page: Page)... function test_should_snapshot_with_restored_contain_mode_inside_deep_equal (line 171) | def test_should_snapshot_with_restored_contain_mode_inside_deep_equal( function test_match_values_both_against_regex_and_string (line 209) | def test_match_values_both_against_regex_and_string(page: Page) -> None: FILE: tests/sync/test_page_clock.py function calls (line 25) | def calls(page: Page) -> List[Any]: class TestRunFor (line 31) | class TestRunFor: method before_each (line 33) | def before_each(self, page: Page) -> Generator[None, None, None]: method test_run_for_triggers_immediately_without_specified_delay (line 38) | def test_run_for_triggers_immediately_without_specified_delay( method test_run_for_does_not_trigger_without_sufficient_delay (line 45) | def test_run_for_does_not_trigger_without_sufficient_delay( method test_run_for_triggers_after_sufficient_delay (line 52) | def test_run_for_triggers_after_sufficient_delay( method test_run_for_triggers_simultaneous_timers (line 59) | def test_run_for_triggers_simultaneous_timers( method test_run_for_triggers_multiple_simultaneous_timers (line 66) | def test_run_for_triggers_multiple_simultaneous_timers( method test_run_for_waits_after_setTimeout_was_called (line 75) | def test_run_for_waits_after_setTimeout_was_called( method test_run_for_triggers_event_when_some_throw (line 84) | def test_run_for_triggers_event_when_some_throw( method test_run_for_creates_updated_Date_while_ticking (line 94) | def test_run_for_creates_updated_Date_while_ticking( method test_run_for_passes_8_seconds (line 113) | def test_run_for_passes_8_seconds(self, page: Page, calls: List[Any]) ... method test_run_for_passes_1_minute (line 118) | def test_run_for_passes_1_minute(self, page: Page, calls: List[Any]) -... method test_run_for_passes_2_hours_34_minutes_and_10_seconds (line 123) | def test_run_for_passes_2_hours_34_minutes_and_10_seconds( method test_run_for_throws_for_invalid_format (line 130) | def test_run_for_throws_for_invalid_format( method test_run_for_returns_the_current_now_value (line 138) | def test_run_for_returns_the_current_now_value(self, page: Page) -> None: class TestFastForward (line 145) | class TestFastForward: method before_each (line 147) | def before_each(self, page: Page) -> Generator[None, None, None]: method test_ignores_timers_which_wouldnt_be_run (line 152) | def test_ignores_timers_which_wouldnt_be_run( method test_pushes_back_execution_time_for_skipped_timers (line 161) | def test_pushes_back_execution_time_for_skipped_timers( method test_supports_string_time_arguments (line 168) | def test_supports_string_time_arguments(self, page: Page, calls: List[... class TestStubTimers (line 176) | class TestStubTimers: method before_each (line 178) | def before_each(self, page: Page) -> Generator[None, None, None]: method test_sets_initial_timestamp (line 183) | def test_sets_initial_timestamp(self, page: Page) -> None: method test_replaces_global_setTimeout (line 187) | def test_replaces_global_setTimeout(self, page: Page, calls: List[Any]... method test_global_fake_setTimeout_should_return_id (line 192) | def test_global_fake_setTimeout_should_return_id(self, page: Page) -> ... method test_replaces_global_clearTimeout (line 196) | def test_replaces_global_clearTimeout(self, page: Page, calls: List[An... method test_replaces_global_setInterval (line 206) | def test_replaces_global_setInterval(self, page: Page, calls: List[Any... method test_replaces_global_clearInterval (line 211) | def test_replaces_global_clearInterval(self, page: Page, calls: List[A... method test_replaces_global_performance_now (line 221) | def test_replaces_global_performance_now(self, page: Page) -> None: method test_fakes_Date_constructor (line 235) | def test_fakes_Date_constructor(self, page: Page) -> None: class TestStubTimersPerformance (line 240) | class TestStubTimersPerformance: method test_replaces_global_performance_time_origin (line 241) | def test_replaces_global_performance_time_origin(self, page: Page) -> ... class TestPopup (line 259) | class TestPopup: method test_should_tick_after_popup (line 260) | def test_should_tick_after_popup(self, page: Page) -> None: method test_should_tick_before_popup (line 273) | def test_should_tick_before_popup(self, page: Page) -> None: method test_should_run_time_before_popup (line 285) | def test_should_run_time_before_popup(self, page: Page, server: Server... method test_should_not_run_time_before_popup_on_pause (line 303) | def test_should_not_run_time_before_popup_on_pause( class TestSetFixedTime (line 326) | class TestSetFixedTime: method test_allows_passing_as_int (line 327) | def test_allows_passing_as_int(self, page: Page) -> None: method test_does_not_fake_methods (line 333) | def test_does_not_fake_methods(self, page: Page) -> None: method test_allows_setting_time_multiple_times (line 338) | def test_allows_setting_time_multiple_times(self, page: Page) -> None: method test_fixed_time_is_not_affected_by_clock_manipulation (line 344) | def test_fixed_time_is_not_affected_by_clock_manipulation(self, page: ... method test_allows_installing_fake_timers_after_setting_time (line 350) | def test_allows_installing_fake_timers_after_setting_time( class TestWhileRunning (line 361) | class TestWhileRunning: method test_should_progress_time (line 362) | def test_should_progress_time(self, page: Page) -> None: method test_should_run_for (line 369) | def test_should_run_for(self, page: Page) -> None: method test_should_fast_forward (line 376) | def test_should_fast_forward(self, page: Page) -> None: method test_should_fast_forward_to (line 383) | def test_should_fast_forward_to(self, page: Page) -> None: method test_should_pause (line 390) | def test_should_pause(self, page: Page) -> None: method test_should_pause_and_fast_forward (line 398) | def test_should_pause_and_fast_forward(self, page: Page) -> None: method test_should_set_system_time_on_pause (line 406) | def test_should_set_system_time_on_pause(self, page: Page) -> None: class TestWhileOnPause (line 414) | class TestWhileOnPause: method test_fast_forward_should_not_run_nested_immediate (line 415) | def test_fast_forward_should_not_run_nested_immediate( method test_run_for_should_not_run_nested_immediate (line 434) | def test_run_for_should_not_run_nested_immediate( method test_run_for_should_not_run_nested_immediate_from_microtask (line 453) | def test_run_for_should_not_run_nested_immediate_from_microtask( FILE: tests/sync/test_page_event_console.py function test_console_messages_should_work (line 19) | def test_console_messages_should_work(page: Page) -> None: FILE: tests/sync/test_page_event_pageerror.py function test_page_errors_should_work (line 18) | def test_page_errors_should_work(page: Page) -> None: FILE: tests/sync/test_page_event_request.py function test_should_return_last_requests (line 19) | def test_should_return_last_requests(page: Page, server: Server) -> None: FILE: tests/sync/test_page_network_response.py function test_should_reject_response_finished_if_page_closes (line 22) | def test_should_reject_response_finished_if_page_closes( function test_should_reject_response_finished_if_context_closes (line 45) | def test_should_reject_response_finished_if_context_closes( FILE: tests/sync/test_page_request_fallback.py function _append_with_return_value (line 23) | def _append_with_return_value(values: List, value: Any) -> Any: function test_should_work (line 27) | def test_should_work(page: Page, server: Server) -> None: function test_should_fall_back (line 32) | def test_should_fall_back(page: Page, server: Server) -> None: function test_should_fall_back_async_delayed (line 60) | def test_should_fall_back_async_delayed(page: Page, server: Server) -> N... function test_should_chain_once (line 78) | def test_should_chain_once(page: Page, server: Server) -> None: function test_should_not_chain_fulfill (line 92) | def test_should_not_chain_fulfill(page: Page, server: Server) -> None: function test_should_not_chain_abort (line 112) | def test_should_not_chain_abort( function test_should_fall_back_after_exception (line 135) | def test_should_fall_back_after_exception(page: Page, server: Server) ->... function test_should_amend_http_headers (line 149) | def test_should_amend_http_headers(page: Page, server: Server) -> None: function test_should_delete_header_with_undefined_value (line 171) | def test_should_delete_header_with_undefined_value(page: Page, server: S... function test_should_amend_method (line 218) | def test_should_amend_method(page: Page, server: Server) -> None: function test_should_override_request_url (line 237) | def test_should_override_request_url(page: Page, server: Server) -> None: function test_should_amend_post_data (line 264) | def test_should_amend_post_data(page: Page, server: Server) -> None: function test_should_amend_binary_post_data (line 283) | def test_should_amend_binary_post_data(page: Page, server: Server) -> None: function test_should_chain_fallback_with_dynamic_url (line 304) | def test_should_chain_fallback_with_dynamic_url(server: Server, page: Pa... function test_should_amend_json_post_data (line 332) | def test_should_amend_json_post_data(server: Server, page: Page) -> None: FILE: tests/sync/test_page_request_gc.py function test_should_work (line 19) | def test_should_work(page: Page, server: Server) -> None: FILE: tests/sync/test_page_request_intercept.py function test_should_support_timeout_option_in_route_fetch (line 21) | def test_should_support_timeout_option_in_route_fetch( function test_should_intercept_with_url_override (line 45) | def test_should_intercept_with_url_override(server: Server, page: Page) ... FILE: tests/sync/test_page_request_timeout.py function test_context_request_should_support_timeout_option (line 21) | def test_context_request_should_support_timeout_option( FILE: tests/sync/test_page_select_option.py function test_select_option_should_select_single_option (line 21) | def test_select_option_should_select_single_option(server: Server, page:... function test_select_option_should_select_single_option_by_value (line 28) | def test_select_option_should_select_single_option_by_value( function test_select_option_should_select_single_option_by_label (line 37) | def test_select_option_should_select_single_option_by_label( function test_select_option_should_select_single_option_by_empty_label (line 46) | def test_select_option_should_select_single_option_by_empty_label( function test_select_option_should_select_single_option_by_handle (line 62) | def test_select_option_should_select_single_option_by_handle( function test_select_option_should_select_single_option_by_index (line 71) | def test_select_option_should_select_single_option_by_index( function test_select_option_should_select_single_option_by_index_0 (line 80) | def test_select_option_should_select_single_option_by_index_0( function test_select_option_should_select_only_first_option (line 88) | def test_select_option_should_select_only_first_option( function test_select_option_should_not_throw_when_select_causes_navigation (line 97) | def test_select_option_should_not_throw_when_select_causes_navigation( function test_select_option_should_select_multiple_options (line 110) | def test_select_option_should_select_multiple_options( function test_select_option_should_select_multiple_options_with_attributes (line 120) | def test_select_option_should_select_multiple_options_with_attributes( function test_select_option_should_select_option_with_empty_value (line 135) | def test_select_option_should_select_option_with_empty_value( function test_select_option_should_respect_event_bubbling (line 152) | def test_select_option_should_respect_event_bubbling( function test_select_option_should_throw_when_element_is_not_a__select_ (line 161) | def test_select_option_should_throw_when_element_is_not_a__select_( function test_select_option_should_return_on_no_matched_values (line 170) | def test_select_option_should_return_on_no_matched_values( function test_select_option_should_return_an_array_of_matched_values (line 179) | def test_select_option_should_return_an_array_of_matched_values( function test_select_option_should_return_an_array_of_one_element_when_multiple_is_not_set (line 188) | def test_select_option_should_return_an_array_of_one_element_when_multip... function test_select_option_should_return_on_no_values (line 196) | def test_select_option_should_return_on_no_values(server: Server, page: ... function test_select_option_should_unselect_with_null (line 202) | def test_select_option_should_unselect_with_null(server: Server, page: P... function test_select_option_should_deselect_all_options_when_passed_no_values_for_a_multiple_select (line 214) | def test_select_option_should_deselect_all_options_when_passed_no_values... function test_select_option_should_deselect_all_options_when_passed_no_values_for_a_select_without_multiple (line 227) | def test_select_option_should_deselect_all_options_when_passed_no_values... function test_select_option_should_work_when_re_defining_top_level_event_class (line 239) | def test_select_option_should_work_when_re_defining_top_level_event_class( function test_select_options_should_fall_back_to_selecting_by_label (line 249) | def test_select_options_should_fall_back_to_selecting_by_label( FILE: tests/sync/test_pdf.py function test_should_be_able_to_save_pdf_file (line 24) | def test_should_be_able_to_save_pdf_file(page: Page, tmp_path: Path) -> ... function test_should_be_able_capture_pdf_without_path (line 31) | def test_should_be_able_capture_pdf_without_path(page: Page) -> None: FILE: tests/sync/test_queryselector.py function test_selectors_register_should_work (line 23) | def test_selectors_register_should_work( function test_selectors_register_should_work_with_path (line 68) | def test_selectors_register_should_work_with_path( function test_selectors_register_should_work_in_main_and_isolated_world (line 78) | def test_selectors_register_should_work_in_main_and_isolated_world( function test_selectors_register_should_handle_errors (line 133) | def test_selectors_register_should_handle_errors( function test_should_work_with_layout_selectors (line 180) | def test_should_work_with_layout_selectors(page: Page) -> None: FILE: tests/sync/test_request_fulfill.py function test_should_fetch_original_request_and_fulfill (line 19) | def test_should_fetch_original_request_and_fulfill(page: Page, server: S... function test_should_fulfill_json (line 31) | def test_should_fulfill_json(page: Page, server: Server) -> None: function test_should_fulfill_json_overriding_existing_response (line 44) | def test_should_fulfill_json_overriding_existing_response( FILE: tests/sync/test_request_intercept.py function test_should_not_follow_redirects_when_max_redirects_is_set_to_0_in_route_fetch (line 23) | def test_should_not_follow_redirects_when_max_redirects_is_set_to_0_in_r... function test_should_fulfill_intercepted_response (line 39) | def test_should_fulfill_intercepted_response(page: Page, server: Server)... function test_should_fulfill_response_with_empty_body (line 59) | def test_should_fulfill_response_with_empty_body(page: Page, server: Ser... function test_should_override_with_defaults_when_intercepted_response_not_provided (line 73) | def test_should_override_with_defaults_when_intercepted_response_not_pro... function test_should_fulfill_with_any_response (line 98) | def test_should_fulfill_with_any_response(page: Page, server: Server) ->... function test_should_support_fulfill_after_intercept (line 119) | def test_should_support_fulfill_after_intercept( function test_should_intercept_by_glob (line 136) | def test_should_intercept_by_glob(page: Page, server: Server) -> None: FILE: tests/sync/test_resource_timing.py function test_should_work (line 23) | def test_should_work(page: Page, server: Server) -> None: function test_should_work_for_subresource (line 35) | def test_should_work_for_subresource( function test_should_work_for_ssl (line 52) | def test_should_work_for_ssl( function test_should_work_for_redirect (line 71) | def test_should_work_for_redirect(page: Page, server: Server) -> None: function verify_timing_value (line 98) | def verify_timing_value(value: float, previous: float) -> None: function verify_connections_timing_consistency (line 102) | def verify_connections_timing_consistency(timing: Dict) -> None: FILE: tests/sync/test_route_web_socket.py function assert_equal (line 23) | def assert_equal( function setup_ws (line 39) | def setup_ws( function test_should_work_with_ws_close (line 69) | def test_should_work_with_ws_close(page: Page, server: Server) -> None: function test_should_pattern_match (line 107) | def test_should_pattern_match(page: Page, server: Server) -> None: function test_should_work_with_server (line 141) | def test_should_work_with_server(page: Page, server: Server) -> None: function test_should_work_without_server (line 270) | def test_should_work_without_server(page: Page, server: Server) -> None: function test_should_work_with_base_url (line 319) | def test_should_work_with_base_url(browser: Browser, server: Server) -> ... function test_should_work_with_no_trailing_slash (line 346) | def test_should_work_with_no_trailing_slash(page: Page, server: Server) ... FILE: tests/sync/test_selectors_misc.py function test_should_work_with_internal_and (line 18) | def test_should_work_with_internal_and(page: Page) -> None: FILE: tests/sync/test_sync.py function test_sync_query_selector (line 34) | def test_sync_query_selector(page: Page) -> None: function test_page_repr (line 47) | def test_page_repr(page: Page, server: Server) -> None: function test_frame_repr (line 52) | def test_frame_repr(page: Page, server: Server) -> None: function test_browser_context_repr (line 60) | def test_browser_context_repr(context: BrowserContext) -> None: function test_browser_repr (line 64) | def test_browser_repr(browser: Browser) -> None: function test_browser_type_repr (line 71) | def test_browser_type_repr(browser: Browser) -> None: function test_dialog_repr (line 79) | def test_dialog_repr(page: Page) -> None: function test_console_repr (line 91) | def test_console_repr(page: Page) -> None: function test_sync_click (line 99) | def test_sync_click(page: Page) -> None: function test_sync_nested_query_selector (line 109) | def test_sync_nested_query_selector(page: Page) -> None: function test_sync_handle_multiple_pages (line 130) | def test_sync_handle_multiple_pages(context: BrowserContext) -> None: function test_sync_wait_for_event (line 147) | def test_sync_wait_for_event(page: Page, server: Server) -> None: function test_sync_wait_for_event_raise (line 153) | def test_sync_wait_for_event_raise(page: Page) -> None: function test_sync_make_existing_page_sync (line 164) | def test_sync_make_existing_page_sync(page: Page) -> None: function test_sync_network_events (line 171) | def test_sync_network_events(page: Page, server: Server) -> None: function test_console_should_work (line 197) | def test_console_should_work(page: Page, browser_name: str) -> None: function test_sync_download (line 215) | def test_sync_download(browser: Browser, server: Server) -> None: function test_sync_workers_page_workers (line 239) | def test_sync_workers_page_workers(page: Page, server: Server) -> None: function test_sync_playwright_multiple_times (line 252) | def test_sync_playwright_multiple_times() -> None: function test_sync_set_default_timeout (line 262) | def test_sync_set_default_timeout(page: Page) -> None: function test_close_should_reject_all_promises (line 269) | def test_close_should_reject_all_promises( function test_expect_response_should_work (line 281) | def test_expect_response_should_work(page: Page, server: Server) -> None: function test_expect_response_should_not_hang_when_predicate_throws (line 291) | def test_expect_response_should_not_hang_when_predicate_throws(page: Pag... function test_expect_response_should_use_context_timeout (line 297) | def test_expect_response_should_use_context_timeout( function _test_sync_playwright_stop_multiple_times (line 310) | def _test_sync_playwright_stop_multiple_times() -> None: function test_sync_playwright_stop_multiple_times (line 316) | def test_sync_playwright_stop_multiple_times() -> None: function _test_call_sync_method_after_playwright_close_with_own_loop (line 323) | def _test_call_sync_method_after_playwright_close_with_own_loop( function test_call_sync_method_after_playwright_close_with_own_loop (line 339) | def test_call_sync_method_after_playwright_close_with_own_loop( function test_should_return_proper_api_name_on_error (line 351) | def test_should_return_proper_api_name_on_error(page: Page) -> None: FILE: tests/sync/test_tap.py function context (line 23) | def context(browser: Browser) -> Generator[BrowserContext, None, None]: function test_should_send_all_of_the_correct_events (line 29) | def test_should_send_all_of_the_correct_events(page: Page) -> None: function test_should_not_send_mouse_events_touchstart_is_canceled (line 57) | def test_should_not_send_mouse_events_touchstart_is_canceled(page: Page)... function test_should_not_send_mouse_events_touchend_is_canceled (line 79) | def test_should_not_send_mouse_events_touchend_is_canceled(page: Page) -... function track_events (line 101) | def track_events(target: Optional[ElementHandle]) -> JSHandle: FILE: tests/sync/test_tracing.py function test_browser_context_output_trace (line 33) | def test_browser_context_output_trace( function test_start_stop (line 45) | def test_start_stop(browser: Browser) -> None: function test_browser_context_should_not_throw_when_stopping_without_start_but_not_exporting (line 52) | def test_browser_context_should_not_throw_when_stopping_without_start_bu... function test_browser_context_output_trace_chunk (line 58) | def test_browser_context_output_trace_chunk( function test_should_collect_sources (line 79) | def test_should_collect_sources( function test_should_collect_trace_with_resources_but_no_js (line 128) | def test_should_collect_trace_with_resources_but_no_js( function test_should_correctly_determine_sync_apiname (line 176) | def test_should_correctly_determine_sync_apiname( function test_should_collect_two_traces (line 209) | def test_should_collect_two_traces( function test_should_work_with_playwright_context_managers (line 247) | def test_should_work_with_playwright_context_managers( function test_should_display_wait_for_load_state_even_if_did_not_wait_for_it (line 281) | def test_should_display_wait_for_load_state_even_if_did_not_wait_for_it( function test_should_respect_traces_dir_and_name (line 307) | def test_should_respect_traces_dir_and_name( function test_should_show_tracing_group_in_action_list (line 358) | def test_should_show_tracing_group_in_action_list( FILE: tests/sync/test_unroute_behavior.py function test_context_unroute_all_removes_all_handlers (line 20) | def test_context_unroute_all_removes_all_handlers( function test_page_unroute_all_removes_all_routes (line 35) | def test_page_unroute_all_removes_all_routes(page: Page, server: Server)... FILE: tests/sync/test_video.py function test_should_expose_video_path (line 25) | def test_should_expose_video_path( function test_video_should_exist (line 41) | def test_video_should_exist(browser: Browser, tmp_path: Path, server: Se... function test_record_video_to_path (line 53) | def test_record_video_to_path(browser: Browser, tmp_path: Path, server: ... function test_record_video_to_path_persistent (line 65) | def test_record_video_to_path_persistent( function test_record_video_can_get_video_path_immediately (line 82) | def test_record_video_can_get_video_path_immediately( function test_should_error_if_page_not_closed_before_save_as (line 98) | def test_should_error_if_page_not_closed_before_save_as( FILE: tests/sync/utils.py class Utils (line 21) | class Utils: method attach_frame (line 22) | def attach_frame(self, page: Page, frame_id: str, url: str) -> Frame: method detach_frame (line 40) | def detach_frame(self, page: Page, frame_id: str) -> None: method dump_frames (line 45) | def dump_frames(self, frame: Frame, indentation: str = "") -> List[str]: method verify_viewport (line 58) | def verify_viewport(self, page: Page, width: int, height: int) -> None: method register_selector_engine (line 64) | def register_selector_engine( FILE: tests/test_installation.py function test_install (line 23) | def test_install(tmp_path: Path, browser_name: str) -> None: FILE: tests/test_reference_count_async.py function test_memory_objects (line 29) | async def test_memory_objects(server: Server, browser_name: str) -> None: function test_tracing_should_not_leak_protocol_callbacks (line 79) | async def test_tracing_should_not_leak_protocol_callbacks(browser_name: ... FILE: tests/utils.py function must (line 22) | def must(value: Optional[MustType]) -> MustType: function chromium_version_less_than (line 27) | def chromium_version_less_than(a: str, b: str) -> bool: FILE: utils/linting/check_file_header.py function file_has_license (line 37) | def file_has_license(file_path: str) -> None: function main (line 53) | def main() -> None: