Nightwatch测试边缘工作

时间:2016-09-08 19:20:56

标签: microsoft-edge nightwatch.js

我正试图让nightwatch测试在Microsoft边缘工作。我收到错误,说拒绝连接。什么是让测试工作的正确配置? Windows 10 edge 13

1 个答案:

答案 0 :(得分:0)

你可以发布你的配置吗?

确保已安装microsoft edge webdriver(您可以在此处下载https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/)。 您必须使用<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <ul id="select"> <li class="option selected">--</li> <li class="option" data-value="">--</li> <li class="option" data-value="1">one</li> <li class="option" data-value="2">two</li> </ul> <input id="selectVal" type="hidden" value="" /> param指定边缘驱动程序的路径,例如。 webdriver.edge.driver 和示例功能 "selenium": { "start_process": true, "server_path": "./node_modules/file_dependencies/selenium-server-standalone.jar", "log_path": "", "host": "127.0.0.1", "port": seleniumPort, "cli_args": { "webdriver.chrome.driver": "./node_modules/file_dependencies/chromedriver.exe", "webdriver.ie.driver": "./node_modules/file_dependencies/IEDriverServer.exe", "webdriver.edge.driver": "C:/Program Files (x86)/Microsoft Web Driver/MicrosoftWebDriver.exe", "webdriver.gecko.driver": "./node_modules/file_dependencies/geckodriver.exe", "webdriver.firefox.profile": "" } }