angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

Officially support Microsoft Edge #2377

Closed mgol closed 8 years ago

mgol commented 9 years ago

Microsoft published edgedriver - a driver for the Microsoft Edge browser. Protractor should support it as it supports Internet Explorer.

Aishwaryakaushik4 commented 5 years ago

webdriver-manager start --edge "C:\Users\Z003Z42M\msedgedriver.exe"

This above command I used to run webdriver microsoft edge but i am getting error: Capture

cnishina commented 5 years ago

@Aishwaryakaushik4 The TL;DR is that you need the latest version webdriver-manager 12.1.4. If you are using Protractor 5.4.2, there are two options:

I would then check the node_modules/protractor/node_modules/webdriver-manager/package.json file if you have installed 12.1.4 (just to make sure)

Related issue: https://github.com/angular/webdriver-manager/issues/370

The giveaway is the -alpha.zip.jar file path. The issue above was originally reported where the file we were reading changed. This affects all versions of webdriver-manager and 12.1.4 has the latest fix for this with the chromedriver fix.

andmill commented 3 years ago

Holy thread resurrection!

webdriver-manager start --edge /path/to/driver

How to run this on Linux? I'm running fine locally on windows, but the --edge flag is not present in my webdriver-manager install on Ubuntu VM. Any thoughts why the --edge option is missing on Linux npm install protractor@7.0.0?

Protractor version 7.0.0 Webdriver-manager version 12.1.8 on both Windows and Linux.

Any help much appreciated.