selenium.webdriver.edge.remote_connectionΒΆ
Classes
|
- class selenium.webdriver.edge.remote_connection.EdgeRemoteConnection(remote_server_addr: str, keep_alive: bool = True, ignore_proxy: bool | None = False, client_config: ClientConfig | None = None)[source]ΒΆ
- browser_name: str | None = 'MicrosoftEdge'ΒΆ
- add_command(name, method, url)ΒΆ
Register a new command.
- certifi = <module 'certifi' from '/home/runner/work/selenium/selenium/py/.tox/docs/lib/python3.9/site-packages/certifi/__init__.py'>ΒΆ
- property client_configΒΆ
- close()ΒΆ
Clean up resources when finished with the remote_connection.
- execute(command, params)ΒΆ
Send a command to the remote server.
Any path substitutions required for the URL mapped to the command should be included in the command parameters.
- Args:
command - A string specifying the command to execute.
params - A dictionary of named parameters to send with the command as its JSON payload.
- extra_commands = {}ΒΆ
- extra_headers = NoneΒΆ
- classmethod get_certificate_bundle_path()ΒΆ
- Returns:
Paths of the .pem encoded certificate to verify connection to command executor. Defaults to certifi.where() or REQUESTS_CA_BUNDLE env variable if set.
- get_command(name: str)ΒΆ
Retrieve a command if it exists.
- classmethod get_remote_connection_headers(parsed_url, keep_alive=False)ΒΆ
Get headers for remote request.
- Args:
parsed_url - The parsed url
keep_alive (Boolean) - Is this a keep-alive connection (default: False)
- classmethod get_timeout()ΒΆ
- Returns:
Timeout value in seconds for all http requests made to the Remote Connection
- os = <module 'os' from '/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/os.py'>ΒΆ
- classmethod reset_timeout()ΒΆ
Reset the http request timeout to socket._GLOBAL_DEFAULT_TIMEOUT.
- classmethod set_certificate_bundle_path(path)ΒΆ
Set the path to the certificate bundle to verify connection to command executor. Can also be set to None to disable certificate validation.
- Args:
path - path of a .pem encoded certificate chain.
- classmethod set_timeout(timeout)ΒΆ
Override the default timeout.
- Args:
timeout - timeout value for http requests in seconds
- socket = <module 'socket' from '/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/socket.py'>ΒΆ
- system = 'linux'ΒΆ
- user_agent = 'selenium/4.36.0.202508121825 (python linux)'ΒΆ