参考:https :
//github.com/angular/protractor/issues/2377
- 下载并安装Edge驱动程序
- 运行
webdriver-manager start --edge "C:path_to_the_driverMicrosoftWebDriver.exe"
。默认情况下,这将在应向您开放的端口4444上启动您的硒服务器。 - 在量角器配置文件中:添加
seleniumAddress: 'http://localhost:4444/wd/hub'

参考:https :
//github.com/angular/protractor/issues/2377
webdriver-manager start --edge "C:path_to_the_driverMicrosoftWebDriver.exe"。默认情况下,这将在应向您开放的端口4444上启动您的硒服务器。
seleniumAddress: 'http://localhost:4444/wd/hub'