Provides a mechanism to write tests against Edge
Inheritance Hierarchy
OpenQA.Selenium.RemoteRemoteWebDriver
OpenQA.Selenium.EdgeEdgeDriver
Namespace: OpenQA.Selenium.Edge
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax
The EdgeDriver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | EdgeDriver |
Initializes a new instance of the EdgeDriver class.
|
![]() | EdgeDriver(String) |
Initializes a new instance of the EdgeDriver class using the specified path
to the directory containing EdgeDriver.exe.
|
![]() | EdgeDriver(EdgeDriverService) |
Initializes a new instance of the EdgeDriver class using the specified driver service.
|
![]() | EdgeDriver(EdgeOptions) |
Initializes a new instance of the EdgeDriver class using the specified options.
|
![]() | EdgeDriver(String, EdgeOptions) |
Initializes a new instance of the EdgeDriver class using the specified path
to the directory containing EdgeDriver.exe and options.
|
![]() | EdgeDriver(EdgeDriverService, EdgeOptions) |
Initializes a new instance of the EdgeDriver class using the specified
EdgeDriverService and options.
|
![]() | EdgeDriver(String, EdgeOptions, TimeSpan) |
Initializes a new instance of the EdgeDriver class using the specified path
to the directory containing EdgeDriver.exe, options, and command timeout.
|
![]() | EdgeDriver(EdgeDriverService, EdgeOptions, TimeSpan) |
Initializes a new instance of the EdgeDriver class using the specified EdgeDriverService.
|
Properties
Name | Description | |
---|---|---|
![]() | ApplicationCache |
Gets an IApplicationCache object for managing application cache.
(Inherited from RemoteWebDriver.) |
![]() | Capabilities |
Gets the capabilities that the RemoteWebDriver instance is currently using
(Inherited from RemoteWebDriver.) |
![]() | CommandExecutor |
Gets the ICommandExecutor which executes commands for this driver.
(Inherited from RemoteWebDriver.) |
![]() | CurrentWindowHandle |
Gets the current window handle, which is an opaque handle to this
window that uniquely identifies it within this driver instance.
(Inherited from RemoteWebDriver.) |
![]() | FileDetector |
Gets or sets the IFileDetector responsible for detecting
sequences of keystrokes representing file paths and names.
(Inherited from RemoteWebDriver.) |
![]() | HasApplicationCache |
Gets a value indicating whether manipulating the application cache is supported for this driver.
(Inherited from RemoteWebDriver.) |
![]() | HasLocationContext |
Gets a value indicating whether manipulating geolocation is supported for this driver.
(Inherited from RemoteWebDriver.) |
![]() | HasWebStorage |
Gets a value indicating whether web storage is supported for this driver.
(Inherited from RemoteWebDriver.) |
![]() | Keyboard |
Gets an IKeyboard object for sending keystrokes to the browser.
(Inherited from RemoteWebDriver.) |
![]() | LocationContext |
Gets an ILocationContext object for managing browser location.
(Inherited from RemoteWebDriver.) |
![]() | Mouse |
Gets an IMouse object for sending mouse commands to the browser.
(Inherited from RemoteWebDriver.) |
![]() | PageSource |
Gets the source of the page last loaded by the browser.
(Inherited from RemoteWebDriver.) |
![]() | SessionId |
Gets the SessionId for the current session of this driver.
(Inherited from RemoteWebDriver.) |
![]() | Title |
Gets the title of the current browser window.
(Inherited from RemoteWebDriver.) |
![]() | Url |
Gets or sets the URL the browser is currently displaying.
(Inherited from RemoteWebDriver.) |
![]() | WebStorage |
Gets an IWebStorage object for managing web storage.
(Inherited from RemoteWebDriver.) |
![]() | WindowHandles |
Gets the window handles of open browser windows.
(Inherited from RemoteWebDriver.) |
Methods
Name | Description | |
---|---|---|
![]() | Close |
Closes the Browser
(Inherited from RemoteWebDriver.) |
![]() | CreateElement |
Creates a RemoteWebElement with the specified ID.
(Inherited from RemoteWebDriver.) |
![]() | Dispose |
Dispose the RemoteWebDriver Instance
(Inherited from RemoteWebDriver.) |
![]() | Dispose(Boolean) |
Stops the client from running
(Inherited from RemoteWebDriver.) |
![]() | Equals | (Inherited from Object.) |
![]() | Execute |
Executes a command with this driver .
(Inherited from RemoteWebDriver.) |
![]() | ExecuteAsyncScript |
Executes JavaScript asynchronously in the context of the currently selected frame or window.
(Inherited from RemoteWebDriver.) |
![]() | ExecuteScript |
Executes JavaScript in the context of the currently selected frame or window
(Inherited from RemoteWebDriver.) |
![]() | ExecuteScriptCommand |
Executes JavaScript in the context of the currently selected frame or window using a specific command.
(Inherited from RemoteWebDriver.) |
![]() | 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.) |
![]() ![]() | FindElement(By) |
Finds the first element in the page that matches the By object
(Inherited from RemoteWebDriver.) |
![]() | FindElement(String, String) |
Finds an element matching the given mechanism and value.
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementByClassName |
Finds the first element in the page that matches the CSS Class supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementByCssSelector |
Finds the first element matching the specified CSS selector.
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementById |
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementByLinkText |
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementByName |
Finds the first of elements that match the name supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementByPartialLinkText |
Finds the first of elements that match the part of the link text supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementByTagName |
Finds the first of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementByXPath |
Finds the first of elements that match the XPath supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElements(By) |
Finds the elements on the page by using the By object and returns a ReadOnlyCollection of the Elements on the page
(Inherited from RemoteWebDriver.) |
![]() | FindElements(String, String) |
Finds all elements matching the given mechanism and value.
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementsByClassName |
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByCssSelector |
Finds all elements matching the specified CSS selector.
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementsById |
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementsByLinkText |
Finds a list of elements that match the link text supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementsByName |
Finds a list of elements that match the name supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementsByPartialLinkText |
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementsByTagName |
Finds a list of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.) |
![]() ![]() | FindElementsByXPath |
Finds a list of elements that match the XPath supplied
(Inherited from RemoteWebDriver.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetScreenshot |
Gets a Screenshot object representing the image of the page on the screen.
(Inherited from RemoteWebDriver.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Manage |
Method For getting an object to set the Speed
(Inherited from RemoteWebDriver.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Navigate |
Method to allow you to Navigate with WebDriver
(Inherited from RemoteWebDriver.) |
![]() | Quit |
Close the Browser and Dispose of WebDriver
(Inherited from RemoteWebDriver.) |
![]() | StartClient |
Starts the command executor, enabling communication with the browser.
(Inherited from RemoteWebDriver.) |
![]() | StartSession |
Starts a session with the driver
(Inherited from RemoteWebDriver.) |
![]() | StopClient |
Stops the command executor, ending further communication with the browser.
(Inherited from RemoteWebDriver.) |
![]() ![]() | SwitchTo |
Method to give you access to switch frames and windows
(Inherited from RemoteWebDriver.) |
![]() | ToString | (Inherited from Object.) |
See Also