selenium.webdriver.common.service

class selenium.webdriver.common.service.Service(executable, port=0, log_file=-3, env=None, start_error_message='')[source]
assert_process_still_running()[source]
command_line_args()[source]
is_connectable()[source]
send_remote_shutdown_command()[source]
service_url[source]

Gets the url of the Service

start()[source]

Starts the Service.

Exceptions :
  • WebDriverException : Raised either when it can’t start the service or when it can’t connect to the service
stop()[source]

Stops the service.

This Page