How to configure Protractor (JS) for running tests in Microsoft Edge?

狂风中的少年 提交于 2019-11-29 08:56:56

Reference : https://github.com/angular/protractor/issues/2377

  1. Download and install Edge driver
  2. Run webdriver-manager start --edge "C:\path_to_the_driver\MicrosoftWebDriver.exe" . By default this will start your selenium server on port 4444 which should be open to you.
  3. In your protractor config file: add seleniumAddress: 'http://localhost:4444/wd/hub'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!