angular / webdriver-manager

A binary manager for E2E testing
MIT License
227 stars 114 forks source link

microsoft edge browser support is missing #467

Open Manoj-kumawat opened 4 years ago

Manoj-kumawat commented 4 years ago

while do npm webdriver-manager update it's download only geckodriver and chromedriver only. If microsoft edge browser could be downloaded using this it would be so great.

olegthinks commented 3 years ago

@Manoj-kumawat - I've had success with the Chromium (new) version of Edge

  1. Protractor Config File: Set 'MicrosoftEdge' as the browserName param value
  2. Download the matching EdgeDriver against your existing browser version here: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
  3. Run tests by implementing a variation of the following script: "npm run killEdge && npm run kill-webdriver && webdriver-manager start --edge msedgedriver.exe --versions.standalone=3.141.59 --detach && npm run indexTests && protractor ./protractor.conf.edge.js",
    • Ensure Edge and Web Driver Manager aren't running
    • Start WebDriver Manager and point to EdgeDriver's location in the directory (for us it's in the root) hence simply 'msedgedriver.exe'
    • Point to the Protractor config directory
harishraok commented 3 years ago

Hello,

When will the support for MS Edge browser be added? I have tried to fake MSEdge driver by setting the browserName as chrome. However the chromeOptions does not work. We need the window size and headless to be working. Appreciate if this support is added.

Thanks and Regards, Harish Rao