selenium.webdriver.ie.service¶
Classes
|
Object that manages the starting and stopping of the IEDriver. |
- class selenium.webdriver.ie.service.Service(executable_path: str = 'IEDriverServer.exe', port: int = 0, host: Optional[str] = None, log_level: Optional[str] = None, log_file: Optional[str] = None, **kwargs)[source]¶
Object that manages the starting and stopping of the IEDriver.
Creates a new instance of the Service.
- Args:
executable_path : Path to the IEDriver
port : Port the service is running on
host : IP address the service port is bound
log_level : Level of logging of service, may be “FATAL”, “ERROR”, “WARN”, “INFO”, “DEBUG”, “TRACE”. Default is “FATAL”.
log_file : Target of logging of service, may be “stdout”, “stderr” or file path. Default is “stdout”.
- is_connectable() bool [source]¶
Establishes a socket connection to determine if the service running on the port is accessible.
- property path: str¶
- send_remote_shutdown_command() None [source]¶
Dispatch an HTTP request to the shutdown endpoint for the service in an attempt to stop it.
- property service_url: str¶
Gets the url of the Service.