Class to manage options specific to EdgeDriver
Inheritance Hierarchy
OpenQA.SeleniumDriverOptions
OpenQA.Selenium.EdgeEdgeOptions
Namespace: OpenQA.Selenium.Edge
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax
The EdgeOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | EdgeOptions | Initializes a new instance of the EdgeOptions class |
Properties
Name | Description | |
---|---|---|
![]() | PageLoadStrategy |
Gets or sets the value for describing how the browser is to wait for pages to load in the Edge driver.
Defaults to Default.
|
Methods
Name | Description | |
---|---|---|
![]() | AddAdditionalCapability |
Provides a means to add additional capabilities not yet added as type safe options
for the Edge driver.
(Overrides DriverOptionsAddAdditionalCapability(String, Object).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GenerateLoggingPreferencesDictionary |
Generates the logging preferences dictionary for transmission as a desired capability.
(Inherited from DriverOptions.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetLoggingPreference |
Sets the logging preferences for this driver.
(Inherited from DriverOptions.) |
![]() | ToCapabilities |
Returns DesiredCapabilities for Edge with these options included as
capabilities. This copies the options. Further changes will not be
reflected in the returned capabilities.
(Overrides DriverOptionsToCapabilities.) |
![]() | ToString | (Inherited from Object.) |
Examples
EdgeOptions options = new EdgeOptions();
For use with EdgeDriver:
EdgeDriver driver = new EdgeDriver(options);
For use with RemoteWebDriver:
RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities());
See Also