BT

Microsoft Edge Now Supports W3C WebDriver Recommendation

| by Dylan Schiemann Follow 7 Followers on Jun 26, 2018. Estimated reading time: 1 minute |

Microsoft Edge now supports the recently ratified W3C WebDriver recommendation, making it easier to automate unit and functional tests with the Edge browser. Edge WebDriver is also now an Edge Feature on Demand, providing automatic WebDriver updates for each release of Edge.

Numerous versions of the WebDriver protocol have been created over the years, originating in the Selenium project before moving to the W3C for standardization. For JavaScript testing, several libraries including Intern and WebDriver.io help normalize the testing differences across browsers. With the W3C WebDriver protocol reaching recommendation status, the inconsistencies in testing across browsers should hopefully diminish over time.

Another major challenge with cross-browser testing is keeping each version of WebDriver up to date for each browser release. Previously WebDriver instances were developed by third-parties and were often out of sync with new versions of browsers. More recently, browser vendors have taken ownership of their WebDriver implementations.

This release of WebDriver for Edge introduces several improvements for testing on Edge. The Actions API provides low-level input into the browser via action sequences, allowing developers to test more complex scenarios via mouse and keyboard input. New testing commands include support for getting timeouts, getting and setting the window dimensions, and getting the property of an element. Additionally, many bugs, edge cases, and inconsistencies with other WebDriver implementations got fixed in this release.

It is also possible to test Progressive Web Apps (PWAs) with Edge WebDriver, as well as out-of-process WebViews, which allow for embedding a web browser view into a native Windows 10 application. These changes make it easier to test all forms of Edge-based web applications.

To use Edge and WebDriver today, developers should enable Developer Mode within Edge by opening the Settings app and go to "Update & Security", "For developers", and select "Developer Mode". Developer Mode automatically installs the appropriate version of WebDriver. With this change to providing WebDriver as a Feature on Demand, Microsoft will no longer provide standalone downloads for Microsoft Edge WebDriver going forward for current and future versions of Edge.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT