selenium.webdriver.remote.client_config

Classes

AuthType(value[, names, module, qualname, ...])

ClientConfig(remote_server_addr, keep_alive, ...)

class selenium.webdriver.remote.client_config.AuthType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
BASIC = 'Basic'
BEARER = 'Bearer'
X_API_KEY = 'X-API-Key'
class selenium.webdriver.remote.client_config.ClientConfig(remote_server_addr: str, keep_alive: bool | None = True, proxy: ~selenium.webdriver.common.proxy.Proxy | None = <selenium.webdriver.common.proxy.Proxy object>, ignore_certificates: bool | None = False, init_args_for_pool_manager: dict | None = None, timeout: int | None = None, ca_certs: str | None = None, username: str | None = None, password: str | None = None, auth_type: ~selenium.webdriver.remote.client_config.AuthType | None = AuthType.BASIC, token: str | None = None, user_agent: str | None = None, extra_headers: dict | None = None)[source]
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 to 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 to 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.

ca_certs

Gets and Sets the path to bundle of CA certificates.

reset_timeout() None[source]

Resets the timeout to the default value of socket.

get_proxy_url() str | None[source]

Returns the proxy URL to use for the connection.

get_auth_header() dict | None[source]

Returns the authorization to add to the request headers.