selenium.webdriver.chrome.service

class selenium.webdriver.chrome.service.Service(executable_path, port=0, service_args=None, log_path=None, env=None)[source]

Object that manages the starting and stopping of the ChromeDriver

Creates a new instance of the Service

Args :
  • executable_path : Path to the ChromeDriver
  • port : Port the service is running on
  • service_args : List of args to pass to the chromedriver service
  • log_path : Path for the chromedriver service to log to
command_line_args()[source]

This Page