DriverOptions ClassWebDriver
Base class for managing options specific to a browser driver.
Inheritance Hierarchy

SystemObject
  OpenQA.SeleniumDriverOptions
    More...

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

public abstract class DriverOptions

The DriverOptions type exposes the following members.

Constructors

  NameDescription
Protected methodDriverOptions
Initializes a new instance of the DriverOptions class
Top
Methods

  NameDescription
Public methodAddAdditionalCapability
Provides a means to add additional capabilities not yet added as type safe options for the specific browser driver.
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 methodGenerateLoggingPreferencesDictionary
Generates the logging preferences dictionary for transmission as a desired capability.
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 methodSetLoggingPreference
Sets the logging preferences for this driver.
Public methodToCapabilities
Returns DesiredCapabilities for the specific browser driver with these options included ascapabilities. This does not copy the options. Further changes will be reflected in the returned capabilities.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  OpenQA.SeleniumDriverOptions
    OpenQA.Selenium.ChromeChromeOptions
    OpenQA.Selenium.EdgeEdgeOptions
    OpenQA.Selenium.FirefoxFirefoxOptions
    OpenQA.Selenium.IEInternetExplorerOptions
    OpenQA.Selenium.OperaOperaOptions
    OpenQA.Selenium.PhantomJSPhantomJSOptions
    OpenQA.Selenium.SafariSafariOptions