Php Facebook\WebDriver\Exception\WebDriverException:http POST to/session/….引发Curl错误。。。。。。带参数:{quot;type";:“browser";}

Php Facebook\WebDriver\Exception\WebDriverException:http POST to/session/….引发Curl错误。。。。。。带参数:{quot;type";:“browser";},php,phpstorm,laravel-dusk,Php,Phpstorm,Laravel Dusk,我一直在使用Laravel Dusk(版本:Laravel Framework 5.8.37)进行无头/无头测试(浏览器是Chrome)。 我们的代码是PhpStorm(版本:PHP7.2.33)。 我使用macOS Catalina版本10.15.7。 直到今天早上我才发现这个错误: Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for http POST to /session/...... wi

我一直在使用Laravel Dusk(版本:Laravel Framework 5.8.37)进行无头/无头测试(浏览器是Chrome)。 我们的代码是PhpStorm(版本:PHP7.2.33)。 我使用macOS Catalina版本10.15.7。 直到今天早上我才发现这个错误:

Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for http POST to /session/...... with params: {"type":"browser"}
操作在30000毫秒后超时,接收到0字节

我浏览了很多论坛,都有类似问题的答案。我尝试的是:

  • 目前我的chrome Dash版本与浏览器相同:
    %php artisan Dash:update 86 ChromeDriver二进制文件已成功更新为86.0.4240.22版本。
    这是Dash,浏览器是“…Google chrome是最新的” 版本86.0.4240.193(正式版本)(x86_64)
  • 我在其他论坛上找到的其他答案似乎与我的问题无关

    有人对如何解决这个问题有什么建议吗?Tks