The Most Secure Cross Browser Testing Platform since 2012

Blog

Run Selenium Test In Microsoft Edge

edge
BLOG / Browsers / Selenium

Run Selenium Test In Microsoft Edge

On July 29th Microsoft will launch their new operating system Windows 10 which includes a completely new browser called Microsoft Edge. On Juli 23th Microsoft announced Webdriver support for Microsoft Edge but unfortunately it currently only supports a subset of all Webdriver commands.

Luckily we recently added Selenium support for BrowseEmAll which as of today includes Microsoft Edge on Windows 10. Below I’ll outline the steps you can take to run your Selenium tests against Microsoft Edge even without the Webdriver developed by Microsoft.

Step 1: Install Windows 10

Once again Microsoft has chosen to only make their new browser available on Windows 10 and no older operating system. This means you absolutely need to run Windows 10 to run Selenium tests in Microsoft Edge. Luckily Windows 10 is a free upgrade and you can install it inside a virtual machine if necessary.

Step 2: Install BrowseEmAll

Once you have Windows 10 up and running you can head over to our website and download the free trial of BrowseEmAll. Simply install the application, it will automatically install all the necessary tools to run Selenium tests inside Microsoft Edge.

Step 3: Use The Webdriver

To run Selenium Tests through BrowseEmAll you can use the Selenium ChromeDriver to drive all browsers inside BrowseEmAll.

As a last step you’ll need to tell the Selenium ChromeDriver which browser BrowseEmAll should use. This can be done easy enough:

// This should either be
// C:\Program Files (x86)\BrowseEmAll\BrowseEmAll.exe or
// C:\Program Files\BrowseEmAll\BrowseEmAll.exe
System.setProperty("webdriver.chrome.driver", "C:\\Program Files (x86)\\BrowseEmAll\\BrowseEmAll.exe");
 
ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("beabrowser", "Edge");
 
// Now you can instantiate the driver like any other driver
ChromeDriver driver = new ChromeDriver(options);

Step 4: Enjoy

You Selenium tests should now run using the browser you specified in the BrowseEmAllOptions. Currently the browser support includes

  • Chrome
  • Firefox
  • Opera
  • Internet Explorer (7-11)
  • Microsoft Edge.

Limitations

There are a few limitations because there is currently no native Webdriver support inside Microsoft Edge. In detail they are:

  • You cannot run more than one Edge instance in parallel
  • The driver does not handle ‘alerts’
  • Mouse Hover effects will not be triggered by mouse move

You can find more information about this in our documentation.

Programming Language Support

Currently BrowseEmAll includes a ready to go webdriver for Java. We are actively developing webdrivers for .Net and Python and will try to make them available as soon as possible.

Feel free to ask us any questions or report any problems you might have, our support is available at support@browseemall.com.