MCPcopy Create free account

hub / github.com/Vinyzu/Botright / functions

Functions600 in github.com/Vinyzu/Botright

Methodmock_json
(route, request)
botright/modules/hcaptcha.py:39
Methodmouse
(self)
botright/playwright_mock/page.py:144
Functionmul
(a, b)
tests/playwright_tests/test_page.py:386
Functionnew_browser
Create a new browser context with custom configurations. Args: botright (Botright): The Botright Instance from the main thread.
botright/playwright_mock/browser.py:31
Methodnth
(self, index: int)
botright/playwright_mock/frame_locator.py:38
Methodorigin_first
(self)
botright/playwright_mock/frame_locator.py:50
Methodorigin_first
(self)
botright/playwright_mock/locator.py:93
Methodorigin_last
(self)
botright/playwright_mock/frame_locator.py:64
Methodorigin_last
(self)
botright/playwright_mock/locator.py:107
Functionpage
(browser)
tests/conftest.py:51
Methodpage
(self)
botright/playwright_mock/locator.py:36
Methodpage
(self)
botright/playwright_mock/frame.py:49
Methodpages
(self)
botright/playwright_mock/browser.py:165
Methodparent_frame
(self)
botright/playwright_mock/frame.py:57
Methodpoint
(p)
botright/playwright_mock/mouse.py:114
Methodprocess
(self)
tests/server.py:48
Methodquery_selector
(self, selector: str, strict: Optional[bool] = False)
botright/playwright_mock/frame.py:64
Methodquery_selector
(self, selector: str)
botright/playwright_mock/handles.py:76
Methodquery_selector_all
(self, selector: str)
botright/playwright_mock/page.py:293
Methodquery_selector_all
(self, selector: str)
botright/playwright_mock/frame.py:74
Methodquery_selector_all
(self, selector: str)
botright/playwright_mock/handles.py:86
Methodredirected_from
(self)
botright/playwright_mock/routes.py:33
Methodredirected_to
(self)
botright/playwright_mock/routes.py:39
Methodregister_selector_engine
(self, selectors: Selectors, *args, **kwargs)
tests/utils.py:44
Methodrequest
(self)
botright/playwright_mock/routes.py:66
Methodrequest
(self)
botright/playwright_mock/routes.py:79
Methodreset
(self)
tests/server.py:219
Methodresponse
(self)
botright/playwright_mock/routes.py:44
Methodroute_interceptor
(route: PlaywrightRoute)
botright/playwright_mock/browser.py:176
Functionrun_around_tests
()
tests/conftest.py:25
Functionserver
()
tests/conftest.py:32
Methodset_auth
(self, path: str, username: str, password: str)
tests/server.py:168
Methodset_checked
( self, checked: bool, force: Optional[bool] = False, no_wait_after: Optional[bool] = False, position:
botright/playwright_mock/locator.py:263
Methodset_checked
( self, selector: str, checked: Optional[bool] = False, force: Optional[bool]
botright/playwright_mock/frame.py:336
Methodset_checked
( self, checked: bool, position: Optional[Position] = None, timeout: Optional[float] = None, force: Op
botright/playwright_mock/handles.py:275
Methodset_csp
(self, path: str, value: str)
tests/server.py:171
Methodset_redirect
(self, from_: str, to: str)
tests/server.py:188
Methodsolve_hcaptcha
Mocks solving an hCaptcha challenge on a page. Args: rq_data (Optional[str]): Additional request data for solving the ch
botright/playwright_mock/page.py:212
Methodstart
(self)
tests/server.py:210
Functiontest_a_nice_preview
(page, server)
tests/playwright_tests/test_element_handle.py:514
Functiontest_add_script_tag_should_include_source_url_when_path_is_provided
(page, assetdir, server)
tests/playwright_tests/test_page.py:620
Functiontest_add_script_tag_should_throw_a_nice_error_when_the_request_fails
(page, server)
tests/playwright_tests/test_page.py:646
Functiontest_add_script_tag_should_throw_an_error_if_loading_from_url_fail
(page, server)
tests/playwright_tests/test_page.py:604
Functiontest_add_script_tag_should_throw_when_added_with_content_to_the_csp_page
(page, server)
tests/playwright_tests/test_page.py:637
Functiontest_add_script_tag_should_work_with_a_path
(page, assetdir, server)
tests/playwright_tests/test_page.py:612
Functiontest_add_script_tag_should_work_with_a_path_and_type_module
(page, assetdir, server)
tests/playwright_tests/test_page.py:596
Functiontest_add_script_tag_should_work_with_a_url
(page, server)
tests/playwright_tests/test_page.py:581
Functiontest_add_script_tag_should_work_with_a_url_and_type_module
(page, server)
tests/playwright_tests/test_page.py:589
Functiontest_add_script_tag_should_work_with_content
(page, server)
tests/playwright_tests/test_page.py:629
Functiontest_add_style_tag_should_include_source_url_when_path_is_provided
(page, assetdir, server)
tests/playwright_tests/test_page.py:679
Functiontest_add_style_tag_should_throw_an_error_if_loading_from_url_fail
(page, server)
tests/playwright_tests/test_page.py:663
Functiontest_add_style_tag_should_throw_when_added_with_content_to_the_CSP_page
(page, server)
tests/playwright_tests/test_page.py:696
Functiontest_add_style_tag_should_work_with_a_path
(page, assetdir, server)
tests/playwright_tests/test_page.py:671
Functiontest_add_style_tag_should_work_with_a_url
(page, server)
tests/playwright_tests/test_page.py:655
Functiontest_add_style_tag_should_work_with_content
(page, server)
tests/playwright_tests/test_page.py:688
Functiontest_async_stacks_should_work
(page, server)
tests/playwright_tests/test_page.py:127
Functiontest_bounding_box
(page, server)
tests/playwright_tests/test_element_handle.py:10
Functiontest_bounding_box_force_a_layout
(page)
tests/playwright_tests/test_element_handle.py:36
Functiontest_bounding_box_handle_nested_frames
(page, server)
tests/playwright_tests/test_element_handle.py:19
Functiontest_bounding_box_return_null_for_invisible_elements
(page)
tests/playwright_tests/test_element_handle.py:29
Functiontest_bounding_box_when_inline_box_child_is_outside_of_viewport
(page)
tests/playwright_tests/test_element_handle.py:90
Functiontest_bounding_box_with_SVG_nodes
(page)
tests/playwright_tests/test_element_handle.py:46
Functiontest_bounding_box_with_page_scale
(botright_client, server)
tests/playwright_tests/test_element_handle.py:65
Functiontest_browserleaks
(page: Page)
tests/test_webrtc.py:7
Functiontest_browserscan
(page: Page)
tests/test_webrtc.py:65
Functiontest_check_the_box
(page)
tests/playwright_tests/test_element_handle.py:573
Functiontest_click
(page, server)
tests/playwright_tests/test_element_handle.py:246
Functiontest_click_for_TextNodes
(page, server)
tests/playwright_tests/test_element_handle.py:271
Functiontest_click_for_shadow_dom_v1
(page, server)
tests/playwright_tests/test_element_handle.py:263
Functiontest_click_throw_for__br__elements_with_force
(page, server)
tests/playwright_tests/test_element_handle.py:309
Functiontest_click_throw_for_detached_nodes
(page, server)
tests/playwright_tests/test_element_handle.py:279
Functiontest_click_throw_for_hidden_nodes_with_force
(page, server)
tests/playwright_tests/test_element_handle.py:289
Functiontest_click_throw_for_recursively_hidden_nodes_with_force
(page, server)
tests/playwright_tests/test_element_handle.py:299
Functiontest_click_with_node_removed
(page, server)
tests/playwright_tests/test_element_handle.py:254
Functiontest_close_event_should_work_with_page_close
(browser)
tests/playwright_tests/test_page.py:1012
Functiontest_close_event_should_work_with_window_close
(page)
tests/playwright_tests/test_page.py:1002
Functiontest_close_should_be_callable_twice
(browser)
tests/playwright_tests/test_page.py:111
Functiontest_close_should_not_run_beforeunload_by_default
(browser, server)
tests/playwright_tests/test_page.py:61
Functiontest_close_should_reject_all_promises
(browser)
tests/playwright_tests/test_page.py:26
Functiontest_close_should_set_the_page_close_state
(browser)
tests/playwright_tests/test_page.py:80
Functiontest_close_should_terminate_network_waiters
(browser, server)
tests/playwright_tests/test_page.py:88
Functiontest_closed_should_not_visible_in_context_pages
(browser)
tests/playwright_tests/test_page.py:34
Functiontest_console_event_should_work
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:9
Functiontest_console_event_should_work_in_immediately_closed_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:52
Functiontest_console_event_should_work_in_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:19
Functiontest_console_event_should_work_in_popup_2
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:35
Functiontest_console_event_should_work_with_context_manager
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:135
Functiontest_content_frame
(page, utils, server)
tests/playwright_tests/test_element_handle.py:127
Functiontest_content_frame_for_document_element
(page, utils, server)
tests/playwright_tests/test_element_handle.py:145
Functiontest_content_frame_for_non_iframes
(page, utils, server)
tests/playwright_tests/test_element_handle.py:136
Functiontest_detach_child_frames_on_navigation
(page, server)
tests/playwright_tests/test_frames.py:149
Functiontest_dialog_event_should_work1
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:69
Functiontest_dialog_event_should_work_in_immdiately_closed_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:118
Functiontest_dialog_event_should_work_in_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:89
Functiontest_dialog_event_should_work_in_popup_2
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:108
Functiontest_domcontentloaded_should_fire_when_expected
(page)
tests/playwright_tests/test_page.py:154
Functiontest_double_click_the_button
(page, server)
tests/playwright_tests/test_element_handle.py:318
Functiontest_drag_and_drop_helper_method
(page: Page, server)
tests/playwright_tests/test_page.py:1077
Functiontest_drag_and_drop_with_position
(page: Page, server)
tests/playwright_tests/test_page.py:1084
Functiontest_drag_to
(page: Page, server)
tests/playwright_tests/test_locators.py:653
← previousnext →201–300 of 600, ranked by callers