Class ChromeDriverService
Exposes the service provided by the native ChromeDriver executable.
public sealed class ChromeDriverService : DriverService, IDisposable
- Inheritance
-
ChromeDriverService
- Implements
- Inherited Members
Properties
CommandLineArguments
Gets the command-line arguments for the driver service.
protected override string CommandLineArguments { get; }
Property Value
LogPath
Gets or sets the location of the log file written to by the ChromeDriver executable.
public string LogPath { get; set; }
Property Value
Methods
CreateDefaultService()
Creates a default instance of the ChromeDriverService.
public static ChromeDriverService CreateDefaultService()
Returns
- ChromeDriverService
A ChromeDriverService that implements default settings.
CreateDefaultService(string)
Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable.
public static ChromeDriverService CreateDefaultService(string driverPath)
Parameters
driverPath
stringThe directory containing the ChromeDriver executable.
Returns
- ChromeDriverService
A ChromeDriverService using a random port.