WebDriver

The W3C WebDriver API is a platform and language-neutral interface and wire protocol allowing programs or scripts to control the behavior of a web browser.

WebDriver enables developers to create automated tests that simulate user interaction. This is different from JavaScript unit tests because WebDriver has access to functionality and information that JavaScript running in the browser doesn't, and it can more accurately simulate user events or OS-level events. WebDriver can also manage testing across multiple windows, tabs and webpages in a single test session.

Here's how to get started with WebDriver for Microsoft Edge.

The Microsoft Edge implementation of WebDriver supports both the W3C WebDriver specification and the JSON Wire Protocol for backwards compatibility with existing tests. Check out the WebDriver Status and Commands page for more details on supported commands.

Getting started with WebDriver for Microsoft Edge

Note

You can find help, report issues, and file feature requests at Microsoft Edge Feedback & Support.

Using WebDriver

To get started using WebDriver with Microsoft Edge, check out these samples:

  • C# code sample for opening a browser window, navigating to bing.com and searching for 'webdriver' (GitHub Gist).

Microsoft WebDriver (download)

WebDriver Status and Commands (reference)

Bringing automated testing to Microsoft Edge through WebDriver

Specification

WebDriver