2016-11-11 12 views
0

firefoxで受け入れテストをSelenium 3.0.1で実行しようとしています。私もwp-browserWPWebDriverモジュールを使用しています。私のacceptance-suit.ymlはこのように見えます。このwpcept run acceptance testsCest.phpをrunnuningでコード受付テストがFirefoxと連携していません

class_name: AcceptanceTester 
modules: 
    enabled: 
    - \Helper\Acceptance 
    - WPWebDriver 

config: 
     WPWebDriver: 
      url: 'https://staging.snapbox.com' 
      adminUsername: '[email protected]' 
      adminPassword: '[email protected]' 
      adminPath: '/wp-admin' 
      browser: firefox 
      webdriver.gecko.driver: 'bin/geckodriver.exe' 

I [Facebook\WebDriver\Exception\UnknownServerException] The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded fro
m https://github.com/mozilla/geckodriver/releases

答えて

0

は '.EXE' を削除してくださいます。

webdriver.gecko.driver: '/usr/local/bin/geckodriver'で正常に動作しています。

また、geckodriver.exeをパスに挿入しましたか?

関連する問題