Last month, we looked at a method that can be used to open Microsoft's Edge browser from a command line or script, using a technique known as protocol activation. Since then, Microsoft has announced that Edge will support WebDriver, the cross-platform, browser agnostic API, paired with the Selenium tool suite. This power duo is already used by many developers to automate page testing through other web browsers.
Straight from the horse's mouth:
Today we’re announcing support for automated testing of Microsoft Edge through the W3C WebDriver standard.
WebDriver is an emerging standard through which Web developers can write tests to automate Web browsers for site testing. It provides a programmable remote control for developing complex user scenarios and running them in an automated fashion against your website in a browser.
So, if you think you'll find Edge automation useful for your web projects, download Microsoft's free WebDriver server software, and run the executable.
For more information, check out this sample C# code that shows how to use Webdriver to perform a short test scenario: Open a new Edge window, navigate to Bing to perform a web search, wait for search results, scan result titles for matching text, then finally, perform a click action to open a matching page link.
This article is published as part of the IDG Contributor Network. Want to Join?