Facebook \ WebDriver \ Exception \ WebDriverCurlException:使用参数将{{type“:” browser“}的HTTP POST引发到/ session / ......的Curl错误

问题描述

我一直在使用Laravel Dusk(版本:Laravel Framework 5.8.37)进行无头/无头测试(浏览器为Chrome)。 我们的代码PHPStorm中(版本:PHP 7.2.33)。 我使用macOS Catalina 10.15.7版。 直到今天早上我都没有这个错误

Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for http POST to /session/...... with params: {"type":"browser"}

Operation timed out after 30000 milliseconds with 0 bytes received

我浏览了很多解决类似问题的论坛。我尝试过的:

  1. https://github.com/staudenmeir/dusk-updater当前我的chrome黄昏版本与浏览器相同: % PHP artisan dusk:update 86 ChromeDriver binaries successfully updated to version 86.0.4240.22.这是黄昏并且浏览器为“ ... Google Chrome是最新的 版本86.0.4240.193(正式内部版本)(x86_64)...”

我在其他论坛上找到的其他答案似乎与我的问题无关。

有人对如何解决此问题有建议吗? Tks

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)