在工作项目中,在安装更新后,我在所有dusk测试中都会遇到错误
1) Tests\Browser\ExampleTest::testBasicExample
Facebook\WebDriver\Exception\SessionNotCreatedException: session not created exception: Chrome version must be >= 60.0.3112.0
(Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-81-generic x86_64)我已经重新安装了黄昏,更新作曲家和流浪汉...我也不知道怎么更新那个驱动程序。
我在本地主机上使用macOS sera10.12.1和vagrant box。Chrome没有安装在系统上。
谢谢你的建议..
发布于 2018-01-27 13:13:58
好吧..。在跳舞和搜索了几个小时后,我在虚拟的Ubuntu上安装了更新
sudo apt-get update # Fetches the list of available updates
sudo apt-get upgrade # Strictly upgrades the current packages
sudo apt-get dist-upgrade # Installs updates (new ones)它改变了Chrome的版本。之后,我把我的域名.dev改成了.test,因为Chrome >63+ forces .dev domains to HTTPS via preloaded HSTS。
发布于 2019-07-25 18:31:44
尝试安装不同版本的chrome驱动程序,我遇到了相同的问题,并修复了以下问题:
php artisan dusk:chrome-driver 74https://stackoverflow.com/questions/48471515
复制相似问题