Karate MSWebDriver无法在空手道中运行

Karate MSWebDriver无法在空手道中运行,karate,Karate,我正在使用Mac并安装了Microsoft Edge,但在尝试运行脚本时出现此错误。它适用于Chrome、Firefox和Safari * configure driver = { type: mswebdriver, showDriverLog: true} 23:26:42.311 request: 1 > POST http://localhost:17556/session 1 > Accept-Encoding: gzip,deflate 1 > Connecti

我正在使用Mac并安装了Microsoft Edge,但在尝试运行脚本时出现此错误。它适用于Chrome、Firefox和Safari

* configure driver = { type: mswebdriver, showDriverLog: true}


23:26:42.311 request:
1 > POST http://localhost:17556/session
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 55
1 > Content-Type: application/json; charset=UTF-8
1 > Host: localhost:17556
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/1.8.0_242)
{"capabilities":{"alwaysMatch":{"browserName":"edge"}}}

23:26:42.321 org.apache.http.conn.HttpHostConnectException: Connect to localhost:17556 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused), http call failed after 10 milliseconds for URL: http://localhost:17556/session
23:26:42.322 http request failed: 
org.apache.http.conn.HttpHostConnectException: Connect to localhost:17556 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
23:26:42.323 driver config / start failed: 
org.apache.http.conn.HttpHostConnectException: Connect to localhost:17556 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused), options: {type=mswebdriver, showDriverLog=true, target=null}
shopifysg.feature:10 - driver config / start failed: 
org.apache.http.conn.HttpHostConnectException: Connect to localhost:17556 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused), options: {type=mswebdriver, showDriverLog=true, target=null}

这在0.9.5中没有,但它在
develope
分支中。您应该使用
msedgedriver
,请参阅:


我认为它在0.9.6.RC1中就已经存在了,所以您可以先尝试一下。如果没有,请按照开发人员指南来帮助我们,以便我们能够更快地发布它:

这在0.9.5上没有,但它在
develope
分支中。您应该使用
msedgedriver
,请参阅:


我认为它在0.9.6.RC1中就已经存在了,所以您可以先尝试一下。如果没有,请按照《开发人员指南》帮助我们,以便我们能够更快地发布该指南:

感谢您的快速响应。它在0.9.6.RC1中不起作用。我将尝试开发分支。@Vijay确保您按照
webDriverSession
中的描述进行了更改,如果您仍然看到问题,请按照以下过程进行操作:|谢谢Peter。它与0.9.6.RC1版本本身配合得很好。我有两个问题。第一个问题是我使用的MSEdgeDriver版本是83.xx,但MSEdge版本是80.xx,这是抛出错误。然后我不得不手动启动MSEdge驱动程序。完成后,脚本在MSEdge浏览器上运行良好。感谢您的快速响应。它在0.9.6.RC1中不起作用。我将尝试开发分支。@Vijay确保您按照
webDriverSession
中的描述进行了更改,如果您仍然看到问题,请按照以下过程进行操作:|谢谢Peter。它与0.9.6.RC1版本本身配合得很好。我有两个问题。第一个问题是我使用的MSEdgeDriver版本是83.xx,但MSEdge版本是80.xx,这是抛出错误。然后我不得不手动启动MSEdge驱动程序。完成此操作后,脚本在MSEdge浏览器上运行良好。