DriverService ClassWebDriver
Exposes the service provided by a native WebDriver server executable.
Inheritance Hierarchy

SystemObject
  OpenQA.SeleniumDriverService
    More...

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

public abstract class DriverService : ICommandServer, 
	IDisposable

The DriverService type exposes the following members.

Constructors

  NameDescription
Protected methodDriverService
Initializes a new instance of the DriverService class.
Top
Properties

  NameDescription
Protected propertyCommandLineArguments
Gets the command-line arguments for the driver service.
Protected propertyDriverServiceExecutableName
Gets the executable file name of the driver service.
Public propertyHideCommandPromptWindow
Gets or sets a value indicating whether the command prompt window of the service should be hidden.
Protected propertyInitializationTimeout
Gets a value indicating the time to wait for an initial connection before timing out.
Protected propertyIsInitialized
Gets a value indicating whether the service is responding to HTTP requests.
Public propertyIsRunning
Gets a value indicating whether the service is running.
Public propertyPort
Gets or sets the port of the service.
Public propertyProcessId
Gets the process ID of the running driver service executable. Returns 0 if the process is not running.
Public propertyServiceUrl
Gets the Uri of the service.
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.
Protected propertyTerminationTimeout
Gets a value indicating the time to wait for the service to terminate before forcing it to terminate.
Top
Methods

  NameDescription
Public methodDispose
Releases all resources associated with this DriverService.
Protected methodDispose(Boolean)
Releases all resources associated with this DriverService.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodStatic memberFindDriverServiceExecutable
Finds the specified driver service executable.
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStart
Starts the DriverService.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  OpenQA.SeleniumDriverService
    OpenQA.Selenium.ChromeChromeDriverService
    OpenQA.Selenium.EdgeEdgeDriverService
    OpenQA.Selenium.FirefoxFirefoxDriverService
    OpenQA.Selenium.IEInternetExplorerDriverService
    OpenQA.Selenium.OperaOperaDriverService
    OpenQA.Selenium.PhantomJSPhantomJSDriverService
    OpenQA.Selenium.SafariSafariDriverService