我无法使用Zombie作为无头浏览器运行我的测试。 我得到的错误是
[RuntimeException]
Install MinkZombieDriver in order to activate zombie session.
我的“behat.yml”文件是
default:
extensions:
Behat\MinkExtension\Extension:
base_url: https://saucelabs.com/
default_session: zombie
javascript_session: zombie
zombie: ~
和“composer.json”
{
"require": {
"behat/behat": "2.4.*@stable",
"behat/mink": "1.4.*@stable",
"behat/mink-extension": "*",
"behat/mink-sahi-driver": "*",
"behat/mink-extension": "*",
"behat/mink-zombie-driver": "*"
},
"minimum-stability": "dev",
"config": {
"bin-dir": "bin/"
}
}
知道我做错了什么吗?
答案 0 :(得分:0)
据说没有安装僵尸驱动程序。运行:
composer require behat/mink-zombie-driver