Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vinyzu/Botright
/ functions
Functions
600 in github.com/Vinyzu/Botright
⨍
Functions
600
◇
Types & classes
31
Method
mock_json
(route, request)
botright/modules/hcaptcha.py:39
Method
mouse
(self)
botright/playwright_mock/page.py:144
Function
mul
(a, b)
tests/playwright_tests/test_page.py:386
Function
new_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
Method
nth
(self, index: int)
botright/playwright_mock/frame_locator.py:38
Method
origin_first
(self)
botright/playwright_mock/frame_locator.py:50
Method
origin_first
(self)
botright/playwright_mock/locator.py:93
Method
origin_last
(self)
botright/playwright_mock/frame_locator.py:64
Method
origin_last
(self)
botright/playwright_mock/locator.py:107
Function
page
(browser)
tests/conftest.py:51
Method
page
(self)
botright/playwright_mock/locator.py:36
Method
page
(self)
botright/playwright_mock/frame.py:49
Method
pages
(self)
botright/playwright_mock/browser.py:165
Method
parent_frame
(self)
botright/playwright_mock/frame.py:57
Method
point
(p)
botright/playwright_mock/mouse.py:114
Method
process
(self)
tests/server.py:48
Method
query_selector
(self, selector: str, strict: Optional[bool] = False)
botright/playwright_mock/frame.py:64
Method
query_selector
(self, selector: str)
botright/playwright_mock/handles.py:76
Method
query_selector_all
(self, selector: str)
botright/playwright_mock/page.py:293
Method
query_selector_all
(self, selector: str)
botright/playwright_mock/frame.py:74
Method
query_selector_all
(self, selector: str)
botright/playwright_mock/handles.py:86
Method
redirected_from
(self)
botright/playwright_mock/routes.py:33
Method
redirected_to
(self)
botright/playwright_mock/routes.py:39
Method
register_selector_engine
(self, selectors: Selectors, *args, **kwargs)
tests/utils.py:44
Method
request
(self)
botright/playwright_mock/routes.py:66
Method
request
(self)
botright/playwright_mock/routes.py:79
Method
reset
(self)
tests/server.py:219
Method
response
(self)
botright/playwright_mock/routes.py:44
Method
route_interceptor
(route: PlaywrightRoute)
botright/playwright_mock/browser.py:176
Function
run_around_tests
()
tests/conftest.py:25
Function
server
()
tests/conftest.py:32
Method
set_auth
(self, path: str, username: str, password: str)
tests/server.py:168
Method
set_checked
( self, checked: bool, force: Optional[bool] = False, no_wait_after: Optional[bool] = False, position:
botright/playwright_mock/locator.py:263
Method
set_checked
( self, selector: str, checked: Optional[bool] = False, force: Optional[bool]
botright/playwright_mock/frame.py:336
Method
set_checked
( self, checked: bool, position: Optional[Position] = None, timeout: Optional[float] = None, force: Op
botright/playwright_mock/handles.py:275
Method
set_csp
(self, path: str, value: str)
tests/server.py:171
Method
set_redirect
(self, from_: str, to: str)
tests/server.py:188
Method
solve_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
Method
start
(self)
tests/server.py:210
Function
test_a_nice_preview
(page, server)
tests/playwright_tests/test_element_handle.py:514
Function
test_add_script_tag_should_include_source_url_when_path_is_provided
(page, assetdir, server)
tests/playwright_tests/test_page.py:620
Function
test_add_script_tag_should_throw_a_nice_error_when_the_request_fails
(page, server)
tests/playwright_tests/test_page.py:646
Function
test_add_script_tag_should_throw_an_error_if_loading_from_url_fail
(page, server)
tests/playwright_tests/test_page.py:604
Function
test_add_script_tag_should_throw_when_added_with_content_to_the_csp_page
(page, server)
tests/playwright_tests/test_page.py:637
Function
test_add_script_tag_should_work_with_a_path
(page, assetdir, server)
tests/playwright_tests/test_page.py:612
Function
test_add_script_tag_should_work_with_a_path_and_type_module
(page, assetdir, server)
tests/playwright_tests/test_page.py:596
Function
test_add_script_tag_should_work_with_a_url
(page, server)
tests/playwright_tests/test_page.py:581
Function
test_add_script_tag_should_work_with_a_url_and_type_module
(page, server)
tests/playwright_tests/test_page.py:589
Function
test_add_script_tag_should_work_with_content
(page, server)
tests/playwright_tests/test_page.py:629
Function
test_add_style_tag_should_include_source_url_when_path_is_provided
(page, assetdir, server)
tests/playwright_tests/test_page.py:679
Function
test_add_style_tag_should_throw_an_error_if_loading_from_url_fail
(page, server)
tests/playwright_tests/test_page.py:663
Function
test_add_style_tag_should_throw_when_added_with_content_to_the_CSP_page
(page, server)
tests/playwright_tests/test_page.py:696
Function
test_add_style_tag_should_work_with_a_path
(page, assetdir, server)
tests/playwright_tests/test_page.py:671
Function
test_add_style_tag_should_work_with_a_url
(page, server)
tests/playwright_tests/test_page.py:655
Function
test_add_style_tag_should_work_with_content
(page, server)
tests/playwright_tests/test_page.py:688
Function
test_async_stacks_should_work
(page, server)
tests/playwright_tests/test_page.py:127
Function
test_bounding_box
(page, server)
tests/playwright_tests/test_element_handle.py:10
Function
test_bounding_box_force_a_layout
(page)
tests/playwright_tests/test_element_handle.py:36
Function
test_bounding_box_handle_nested_frames
(page, server)
tests/playwright_tests/test_element_handle.py:19
Function
test_bounding_box_return_null_for_invisible_elements
(page)
tests/playwright_tests/test_element_handle.py:29
Function
test_bounding_box_when_inline_box_child_is_outside_of_viewport
(page)
tests/playwright_tests/test_element_handle.py:90
Function
test_bounding_box_with_SVG_nodes
(page)
tests/playwright_tests/test_element_handle.py:46
Function
test_bounding_box_with_page_scale
(botright_client, server)
tests/playwright_tests/test_element_handle.py:65
Function
test_browserleaks
(page: Page)
tests/test_webrtc.py:7
Function
test_browserscan
(page: Page)
tests/test_webrtc.py:65
Function
test_check_the_box
(page)
tests/playwright_tests/test_element_handle.py:573
Function
test_click
(page, server)
tests/playwright_tests/test_element_handle.py:246
Function
test_click_for_TextNodes
(page, server)
tests/playwright_tests/test_element_handle.py:271
Function
test_click_for_shadow_dom_v1
(page, server)
tests/playwright_tests/test_element_handle.py:263
Function
test_click_throw_for__br__elements_with_force
(page, server)
tests/playwright_tests/test_element_handle.py:309
Function
test_click_throw_for_detached_nodes
(page, server)
tests/playwright_tests/test_element_handle.py:279
Function
test_click_throw_for_hidden_nodes_with_force
(page, server)
tests/playwright_tests/test_element_handle.py:289
Function
test_click_throw_for_recursively_hidden_nodes_with_force
(page, server)
tests/playwright_tests/test_element_handle.py:299
Function
test_click_with_node_removed
(page, server)
tests/playwright_tests/test_element_handle.py:254
Function
test_close_event_should_work_with_page_close
(browser)
tests/playwright_tests/test_page.py:1012
Function
test_close_event_should_work_with_window_close
(page)
tests/playwright_tests/test_page.py:1002
Function
test_close_should_be_callable_twice
(browser)
tests/playwright_tests/test_page.py:111
Function
test_close_should_not_run_beforeunload_by_default
(browser, server)
tests/playwright_tests/test_page.py:61
Function
test_close_should_reject_all_promises
(browser)
tests/playwright_tests/test_page.py:26
Function
test_close_should_set_the_page_close_state
(browser)
tests/playwright_tests/test_page.py:80
Function
test_close_should_terminate_network_waiters
(browser, server)
tests/playwright_tests/test_page.py:88
Function
test_closed_should_not_visible_in_context_pages
(browser)
tests/playwright_tests/test_page.py:34
Function
test_console_event_should_work
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:9
Function
test_console_event_should_work_in_immediately_closed_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:52
Function
test_console_event_should_work_in_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:19
Function
test_console_event_should_work_in_popup_2
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:35
Function
test_console_event_should_work_with_context_manager
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:135
Function
test_content_frame
(page, utils, server)
tests/playwright_tests/test_element_handle.py:127
Function
test_content_frame_for_document_element
(page, utils, server)
tests/playwright_tests/test_element_handle.py:145
Function
test_content_frame_for_non_iframes
(page, utils, server)
tests/playwright_tests/test_element_handle.py:136
Function
test_detach_child_frames_on_navigation
(page, server)
tests/playwright_tests/test_frames.py:149
Function
test_dialog_event_should_work1
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:69
Function
test_dialog_event_should_work_in_immdiately_closed_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:118
Function
test_dialog_event_should_work_in_popup
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:89
Function
test_dialog_event_should_work_in_popup_2
(page: Page)
tests/playwright_tests/test_browsercontext_events.py:108
Function
test_domcontentloaded_should_fire_when_expected
(page)
tests/playwright_tests/test_page.py:154
Function
test_double_click_the_button
(page, server)
tests/playwright_tests/test_element_handle.py:318
Function
test_drag_and_drop_helper_method
(page: Page, server)
tests/playwright_tests/test_page.py:1077
Function
test_drag_and_drop_with_position
(page: Page, server)
tests/playwright_tests/test_page.py:1084
Function
test_drag_to
(page: Page, server)
tests/playwright_tests/test_locators.py:653
← previous
next →
201–300 of 600, ranked by callers