2016-11-11 4 views
0

나는 셀레늄 3.0.1을 사용하여 파이어 폭스에 대한 수용 테스트를 실시하려고한다. 나는 또한 wp-browserWPWebDriver 단위를 사용하고있다. 내 수용 - suit.yml은 이렇게 보입니다. 이 wpcept run acceptance testsCest.php을 runnuning에Codeception 수용 테스트가 파이어 폭스와 작동하지 않음

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' 

나는 [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를 경로에 배치 했습니까?