ChromeDriverService ClassWebDriver
Exposes the service provided by the native ChromeDriver executable.
Inheritance Hierarchy

SystemObject
  OpenQA.SeleniumDriverService
    OpenQA.Selenium.ChromeChromeDriverService

Namespace: OpenQA.Selenium.Chrome
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public sealed class ChromeDriverService : DriverService

The ChromeDriverService type exposes the following members.

Properties

  NameDescription
Public propertyAndroidDebugBridgePort
Gets or sets the port on which the Android Debug Bridge is listening for commands.
Public propertyEnableVerboseLogging
Gets or sets a value indicating whether to enable verbose logging for the ChromeDriver executable. Defaults to .
Public propertyHideCommandPromptWindow
Gets or sets a value indicating whether the command prompt window of the service should be hidden.
(Inherited from DriverService.)
Public propertyIsRunning
Gets a value indicating whether the service is running.
(Inherited from DriverService.)
Public propertyLogPath
Gets or sets the location of the log file written to by the ChromeDriver executable.
Public propertyPort
Gets or sets the port of the service.
(Inherited from DriverService.)
Public propertyPortServerAddress
Gets or sets the address of a server to contact for reserving a port.
Public propertyProcessId
Gets the process ID of the running driver service executable. Returns 0 if the process is not running.
(Inherited from DriverService.)
Public propertyServiceUrl
Gets the Uri of the service.
(Inherited from DriverService.)
Public propertySuppressInitialDiagnosticInformation
Gets or sets a value indicating whether the initial diagnostic information is suppressed when starting the driver server executable. Defaults to , meaning diagnostic information should be shown by the driver server executable.
(Inherited from DriverService.)
Public propertyUrlPathPrefix
Gets or sets the base URL path prefix for commands (e.g., "wd/url").
Public propertyWhitelistedIPAddresses
Gets or sets the comma-delimited list of IP addresses that are approved to connect to this instance of the Chrome driver. Defaults to an empty string, which means only the local loopback address can connect.
Top
Methods

  NameDescription
Public methodStatic memberCreateDefaultService
Creates a default instance of the ChromeDriverService.
Public methodStatic memberCreateDefaultService(String)
Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable.
Public methodStatic memberCreateDefaultService(String, String)
Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable with the given name.
Public methodDispose
Releases all resources associated with this DriverService.
(Inherited from DriverService.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStart
Starts the DriverService.
(Inherited from DriverService.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference