本文介绍了使用参数将http POST传递到/session的卷发错误:Facebook \ WebDriver \ Exception的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您运行laravel 5.6黄昏时,是否有人遇到这种类型的错误

Does anyone encountered this type of error when you run laravel 5.6 dusk

错误或登录到终端:

Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for http POST to /session with params: {"desiredCapabilities":{"browserName":"chrome","platform":"ANY","chromeOptions":{"binary":"","args":["--disable-gpu","--headless"]}}}

Failed to connect to localhost port 9515: Connection refused

推荐答案

确保您的chrome驱动程序是可执行的并且正在运行.尝试执行以下命令

Make sure your chrome-driver is executable and running. Try following command

您应该看到以下输出

这篇关于使用参数将http POST传递到/session的卷发错误:Facebook \ WebDriver \ Exception的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 05:09