Codeception验收测试不适用于firefox

问题描述 投票:0回答:1

我正在尝试使用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

codeception
1个回答
0
投票

尝试删除'.exe'。

我与wpcept run acceptance testsCest.php成功运行。

另外,您是否将geckodriver.exe放在路径中?

© www.soinside.com 2019 - 2024. All rights reserved.