MCPcopy Create free account

hub / github.com/SeleniumHQ/selenium / functions

Functions25,125 in github.com/SeleniumHQ/selenium

↓ 1 callersMethod_extract_enum_values
Extract individual values from an enum definition. Enums are defined as: "value1" / "value2" / "value3" Can span multiple lines.
py/generate_bidi.py:1195
↓ 1 callersMethod_extract_event_names
Extract event names from event union definitions. Event union definitions follow pattern: module.ModuleEvent = ( mo
py/generate_bidi.py:1107
↓ 1 callersMethod_extract_events
Extract event definitions from parsed definitions. Events are definitions that: 1. Are listed in an event union (e.g., BrowsingContex
py/generate_bidi.py:1305
↓ 1 callersMethod_extract_type_fields
Extract fields from a type definition block. Bare group references (e.g. ``browsingContext.Info = { browsingContext.BaseInfo }``) are
py/generate_bidi.py:1245
↓ 1 callersMethod_extract_types
Extract type definitions from parsed definitions.
py/generate_bidi.py:1128
↓ 1 callersMethod_field_ir
(self, field_: dict)
py/generate_bidi_protocol.py:429
↓ 1 callersFunction_first_button_id
(tree)
py/test/selenium/webdriver/common/accessibility_snapshot_tests.py:284
↓ 1 callersFunction_frame_elements
The iframe element of each frame index in the wire tree.
py/selenium/webdriver/remote/accessibility_snapshot.py:405
↓ 1 callersFunction_frame_unreachable
Whether an error says a frame or its document is gone, rather than that a command failed.
py/selenium/webdriver/remote/accessibility_snapshot.py:421
↓ 1 callersMethod_from_hsl
(cls, h: ParseableFloat, s: ParseableFloat, light: ParseableFloat, a: ParseableFloat = 1)
py/selenium/webdriver/support/color.py:102
↓ 1 callersMethod_generate_field_args
Generate constructor arguments for deserializing response objects. For now, this handles ClientWindowInfo and Info specifically. Coul
py/generate_bidi.py:389
↓ 1 callersFunction_getEvents
(driver)
javascript/selenium-webdriver/test/actions_test.js:233
↓ 1 callersFunction_getEvents
(driver)
javascript/selenium-webdriver/test/bidi/input_test.js:316
↓ 1 callersMethod_get_cookies_for_request
Get cookies that should be sent with the request. Overridden by subclasses.
py/selenium/webdriver/common/api_request_context.py:465
↓ 1 callersMethod_get_longest_token
(self, value: str)
py/selenium/webdriver/support/select.py:250
↓ 1 callersMethod_get_python_type
Convert CDDL type to Python type annotation using Python 3.10+ syntax.
py/generate_bidi.py:499
↓ 1 callersMethod_guard_union_dispatch_keys
(self, selector: dict, ref: str)
py/generate_bidi_protocol.py:595
↓ 1 callersMethod_handle_cmd_response
Handle a response to a command. This will set an event flag that will return control to the task that called the command. Ar
py/private/cdp.py:274
↓ 1 callersMethod_handle_data
Handle incoming WebSocket data. Args: data: a JSON dictionary
py/private/cdp.py:263
↓ 1 callersMethod_handle_event
Handle an event. Args: data: event as a JSON dictionary
py/private/cdp.py:304
↓ 1 callersMethod_handle_response_cookies
Process Set-Cookie headers from the response. Overridden by subclasses.
py/selenium/webdriver/common/api_request_context.py:469
↓ 1 callersMethod_identify_http_proxy_auth
(self)
py/selenium/webdriver/remote/remote_connection.py:294
↓ 1 callersFunction_imports
(mod: ModuleIR)
py/generate_bidi_protocol.py:1083
↓ 1 callersMethod_initialize_driver
(self)
py/conftest.py:481
↓ 1 callersMethod_install_addon_over_classic
Install through the Firefox-classic endpoint and return the extension id.
py/selenium/webdriver/remote/webdriver.py:1609
↓ 1 callersFunction_install_platform_package
(tmp_path, monkeypatch, binary)
py/selenium-manager/test/platform_dispatch_tests.py:126
↓ 1 callersFunction_is_alias_union
(schema: Schema, ref: str)
py/generate_bidi_protocol.py:871
↓ 1 callersMethod_is_authenticated
Return True when the request carries the expected Basic credentials.
py/test/selenium/webdriver/common/webserver.py:94
↓ 1 callersFunction_is_element_available
Copied from org.openqa.selenium.interactions.TestBasicMouseInterface.
py/test/selenium/webdriver/common/w3c_interaction_tests.py:327
↓ 1 callersFunction_is_element_available
Copied from org.openqa.selenium.interactions.TestBasicMouseInterface.
py/test/selenium/webdriver/common/interactions_tests.py:68
↓ 1 callersFunction_is_element_available
Copied from org.openqa.selenium.interactions.TestBasicMouseInterface.
py/test/selenium/webdriver/common/interactions_with_device_tests.py:33
↓ 1 callersMethod_is_enum_definition
Check if a definition is an enum (string union with /). Enums are defined as: "value1" / "value2" / "value3"
py/generate_bidi.py:1179
↓ 1 callersFunction_is_unsupported_command
(message: str)
py/selenium/webdriver/remote/webdriver.py:100
↓ 1 callersMethod_keep_subscription
(self)
py/private/_network_handlers.py:830
↓ 1 callersMethod_leaf_bounds
(self, node: dict, seen: set[str] | None = None)
py/generate_bidi_protocol.py:703
↓ 1 callersMethod_leaf_primitive
(self, node: dict, seen: set[str] | None = None)
py/generate_bidi_protocol.py:685
↓ 1 callersFunction_legacy_log_entry
Deserialize raw log params into the generated log-entry dataclasses.
py/private/_script_handlers.py:260
↓ 1 callersMethod_line
(self)
py/selenium/webdriver/remote/accessibility_snapshot.py:121
↓ 1 callersMethod_lines
(self, indent: str)
py/selenium/webdriver/remote/accessibility_snapshot.py:116
↓ 1 callersMethod_listener_declaration
(self, types: set[str])
py/private/_script_handlers.py:429
↓ 1 callersFunction_literal_component
Return the component when it is literal, ``None`` when it has wildcards. ``UrlPatternPattern`` properties match literally and browsers reject
py/private/_network_handlers.py:199
↓ 1 callersMethod_merged_params
(self, variant_fields: list[list[dict]])
py/generate_bidi_protocol.py:586
↓ 1 callersFunction_narrow_bounds
Bounds a value must satisfy under both: each side keeps the tighter, at a tie the exclusive one.
py/generate_bidi_protocol.py:285
↓ 1 callersFunction_no_proxy_entry_matches
Whether one ``no_proxy`` entry covers the host being connected to. Follows the semantics of :func:`urllib.request.proxy_bypass_environment`: an
py/selenium/webdriver/remote/client_config.py:36
↓ 1 callersMethod_normalize_types
(self, mutation_types: str | Iterable[str] | None)
py/private/_script_handlers.py:408
↓ 1 callersFunction_object_fields
(value: dict[str, Any])
py/selenium/webdriver/remote/accessibility_snapshot.py:427
↓ 1 callersMethod_observe_types
(self, channel_arg: dict, types: set[str])
py/private/_script_handlers.py:435
↓ 1 callersMethod_on
(callback)
javascript/selenium-webdriver/bidi/browsingContextInspector.js:122
↓ 1 callersFunction_one_line
(value: str)
py/selenium/webdriver/remote/accessibility_snapshot.py:144
↓ 1 callersMethod_ordered_variants
(self, selector: dict)
py/generate_bidi_protocol.py:504
↓ 1 callersMethod_outbound
(cls, kwargs: dict)
py/selenium/webdriver/common/_bidi/serialization.py:717
↓ 1 callersFunction_pinned_grid_args
Pin the driver and browser in a driver-configuration so the Grid node skips Selenium Manager. Returns an empty list when nothing is pinned, keepi
py/conftest.py:224
↓ 1 callersMethod_process_logs
(log_items: list[dict])
py/selenium/webdriver/common/selenium_manager.py:165
↓ 1 callersMethod_promote_command_params_records
(self)
py/generate_bidi_protocol.py:339
↓ 1 callersFunction_quote
(name: str)
py/selenium/webdriver/remote/accessibility_snapshot.py:140
↓ 1 callersMethod_read_existing_userjs
Read existing preferences and add them to the desired preference dictionary.
py/selenium/webdriver/firefox/firefox_profile.py:99
↓ 1 callersFunction_read_field
(cls: type, name: str, w: _Wire, payload: dict)
py/selenium/webdriver/common/_bidi/serialization.py:347
↓ 1 callersMethod_read_file
Read and preprocess CDDL file.
py/generate_bidi.py:1043
↓ 1 callersFunction_read_map_entry
Read one ``[key, value]`` map entry into typed key/value. A map arrives as ``[[key, value], ...]``. The key is ``ref / text``: an object key
py/selenium/webdriver/common/_bidi/serialization.py:365
↓ 1 callersFunction_read_scalar
(cls: type, name: str, w: _Wire, raw: Any)
py/selenium/webdriver/common/_bidi/serialization.py:432
↓ 1 callersMethod_record_ir
(self, name: str, type_: dict)
py/generate_bidi_protocol.py:410
↓ 1 callersMethod_release_pending
(self)
py/selenium/webdriver/remote/websocket_connection.py:259
↓ 1 callersMethod_remote_commands
(self, vendor_prefix)
py/selenium/webdriver/chromium/remote_connection.py:44
↓ 1 callersMethod_remove_comments
Remove comments from CDDL content.
py/generate_bidi.py:1082
↓ 1 callersMethod_resolve
Reconcile recorded handler actions into a single BiDi command.
py/private/_network_handlers.py:428
↓ 1 callersMethod_resolve_named_alias
(self, name: str, inner: dict, seen: dict)
py/generate_bidi_protocol.py:663
↓ 1 callersFunction_resolve_redirect_url
Return the final URL after any redirects. urllib3's retry history records each hop. When redirects occurred, the last entry's redirect_locat
py/selenium/webdriver/common/api_request_context.py:241
↓ 1 callersMethod_resolve_union
(self, node: dict, nullable: bool)
py/generate_bidi_protocol.py:628
↓ 1 callersFunction_restore_client_window
Put a client window back the way it was found. The driver is shared across the whole session, so a test that resizes a window has to hand it
py/test/selenium/webdriver/common/bidi/browser_tests.py:106
↓ 1 callersMethod_scalar_py
(self, scalar: str | list | None)
py/generate_bidi_protocol.py:455
↓ 1 callersMethod_serialize_command
(self, command)
py/selenium/webdriver/remote/websocket_connection.py:206
↓ 1 callersMethod_serve_file
Serve a file from the HTML root directory.
py/test/selenium/webdriver/common/webserver.py:77
↓ 1 callersMethod_serve_page
Serve a dynamically generated HTML page.
py/test/selenium/webdriver/common/webserver.py:69
↓ 1 callersFunction_shared_id
(node: dict[str, Any])
py/selenium/webdriver/remote/accessibility_snapshot.py:438
↓ 1 callersFunction_skip_if_remote
Skip fixtures that build a local driver when ``--remote`` is set.
py/conftest.py:521
↓ 1 callersFunction_snake_to_camel
Convert snake_case field name to camelCase for BiDi protocol.
py/selenium/webdriver/remote/websocket_connection.py:31
↓ 1 callersMethod_start_local_driver
(self, kwargs)
py/conftest.py:490
↓ 1 callersMethod_start_process
Creates a subprocess by executing the command provided. Args: path: full command to execute
py/selenium/webdriver/common/service.py:215
↓ 1 callersMethod_start_ws
(self)
py/selenium/webdriver/remote/websocket_connection.py:216
↓ 1 callersMethod_stitch
The document of a frame as the frame node's one child, or no children when unreachable.
py/selenium/webdriver/remote/accessibility_snapshot.py:374
↓ 1 callersMethod_suppressed_record
(self, type_: dict)
py/generate_bidi_protocol.py:398
↓ 1 callersMethod_teardown
(self, conn: Any)
py/private/_script_handlers.py:509
↓ 1 callersMethod_terminate_process
Terminate the child process. On POSIX this attempts a graceful SIGTERM followed by a SIGKILL, on a Windows OS kill is an alias to ter
py/selenium/webdriver/common/service.py:175
↓ 1 callersFunction_tighter_bound
(side: str, flag: str, candidate: dict[str, Any], current: dict[str, Any])
py/generate_bidi_protocol.py:298
↓ 1 callersMethod_to_args
(self)
py/selenium/webdriver/common/driver_finder.py:81
↓ 1 callersMethod_to_json
(self)
py/selenium/webdriver/common/timeouts.py:93
↓ 1 callersMethod_trim_large_entries
Truncate string values in a dictionary if they exceed max_length. Args: input_dict: Dictionary with potentially large values
py/selenium/webdriver/remote/remote_connection.py:504
↓ 1 callersFunction_typing_actions
(text)
py/test/selenium/webdriver/common/_bidi/input_tests.py:60
↓ 1 callersMethod_union_from_alias
(self, name: str)
py/generate_bidi_protocol.py:524
↓ 1 callersMethod_union_from_selector
(self, name: str, selector: dict)
py/generate_bidi_protocol.py:480
↓ 1 callersMethod_union_ir
(self, name: str)
py/generate_bidi_protocol.py:462
↓ 1 callersMethod_union_params
(self, type_: dict, ref: str)
py/generate_bidi_protocol.py:579
↓ 1 callersMethod_union_ref
(self, name: str)
py/generate_bidi_protocol.py:635
↓ 1 callersMethod_unwrap_value
(self, value)
py/selenium/webdriver/remote/webdriver.py:497
↓ 1 callersMethod_upload
(self, filename)
py/selenium/webdriver/remote/webelement.py:601
↓ 1 callersMethod_upload_web_extension
Upload `directory` to the remote end and return the path it unpacked to.
py/selenium/webdriver/remote/webdriver.py:1584
↓ 1 callersMethod_validate_discriminator
(cls, kwargs: dict)
py/selenium/webdriver/common/_bidi/serialization.py:707
↓ 1 callersMethod_validate_enum
(self, name: str, w: _Wire, value: Any)
py/selenium/webdriver/common/_bidi/serialization.py:261
↓ 1 callersFunction_validate_outbound
Reject an outbound value that violates its wire type before it is sent. A caller mistake — a wrong primitive, a scalar where a list is expected,
py/selenium/webdriver/common/_bidi/serialization.py:473
↓ 1 callersFunction_validate_outbound_scalar
(owner: str, name: str, w: _Wire, value: Any)
py/selenium/webdriver/common/_bidi/serialization.py:533
← previousnext →5,201–5,300 of 25,125, ranked by callers