我正在尝试使用selenium 3.0.1对firefox进行验收测试。我也在使用wp-browser WPWebDriver
模块。我的acceptance-suit.yml看起来像这样。
class_name: AcceptanceTester
modules:
enabled:
- \Helper\Acceptance
- WPWebDriver
config:
WPWebDriver:
url: 'url'
adminUsername: '[email protected]'
adminPassword: '123456'
adminPath: '/wp-admin'
browser: firefox
webdriver.gecko.driver: 'bin/geckodriver.exe'
在运行这个qazxsw poi我得到qazxsw poi
尝试删除'.exe'。
我与wpcept run acceptance testsCest.php
成功运行。
另外,您是否将geckodriver.exe放在路径中?