selenium.webdriver.remote.client_config#
Classes
|
An enumeration. |
|
- class AuthType(value)[source]#
Bases:
EnumAn enumeration.
- BASIC = 'Basic'#
- BEARER = 'Bearer'#
- X_API_KEY = 'X-API-Key'#
- class ClientConfig(remote_server_addr, keep_alive=True, proxy=None, ignore_certificates=False, init_args_for_pool_manager=None, timeout=None, ca_certs=None, username=None, password=None, auth_type=AuthType.BASIC, token=None, user_agent=None, extra_headers=None, websocket_timeout=30.0, websocket_interval=0.1, websocket_max_message_size=None)[source]#
Bases:
object- Parameters:
remote_server_addr (str)
keep_alive (bool | None)
proxy (Proxy | None)
ignore_certificates (bool | None)
init_args_for_pool_manager (dict | None)
timeout (int | None)
ca_certs (str | None)
username (str | None)
password (str | None)
auth_type (AuthType | None)
token (str | None)
user_agent (str | None)
extra_headers (dict | None)
websocket_timeout (float | None)
websocket_interval (float | None)
websocket_max_message_size (int | None)
- remote_server_addr#
Gets and Sets Remote Server.
- keep_alive#
Gets and Sets Keep Alive value.
- proxy#
Gets and Sets the proxy used for communicating with the driver/server.
- ignore_certificates#
Gets and Sets the ignore certificate check value.
- init_args_for_pool_manager#
Gets and Sets the ignore certificate check.
- timeout#
Gets and Sets the timeout (in seconds) used for communicating with the driver/server.
- username#
Gets and Sets the username used for basic authentication to the remote.
- password#
Gets and Sets the password used for basic authentication to the remote.
- auth_type#
Gets and Sets the type of authentication to the remote server.
- token#
Gets and Sets the token used for authentication to the remote server.
- user_agent#
Gets and Sets user agent to be added to the request headers.
- extra_headers#
Gets and Sets extra headers to be added to the request.
- websocket_timeout#
Gets and Sets the WebSocket response wait timeout (in seconds) used for communicating with the browser.
- websocket_interval#
Gets and Sets the WebSocket response wait interval (in seconds) used for communicating with the browser.
- websocket_max_message_size#
Gets and Sets the maximum WebSocket message size in bytes for CDP connections.
Only applies to CDP-based connections (
driver.bidi_connection()). WhenNonethe value falls back to theSE_CDP_MAX_WS_MESSAGE_SIZEenvironment variable, then to the built-in default of 16 MiB (2**24).
- ca_certs#
Gets and Sets the path to bundle of CA certificates.