{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2300","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2300/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2300/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2300/events","html_url":"https://github.com/Codeception/Codeception/issues/2300","id":102511545,"number":2300,"title":"Class 'Facebook\\WebDriver\\Remote\\WebDriverCapabilityType' not found","user":{"login":"matperez","id":1917115,"avatar_url":"https://avatars.githubusercontent.com/u/1917115?v=3","gravatar_id":"","url":"https://api.github.com/users/matperez","html_url":"https://github.com/matperez","followers_url":"https://api.github.com/users/matperez/followers","following_url":"https://api.github.com/users/matperez/following{/other_user}","gists_url":"https://api.github.com/users/matperez/gists{/gist_id}","starred_url":"https://api.github.com/users/matperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matperez/subscriptions","organizations_url":"https://api.github.com/users/matperez/orgs","repos_url":"https://api.github.com/users/matperez/repos","events_url":"https://api.github.com/users/matperez/events{/privacy}","received_events_url":"https://api.github.com/users/matperez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-22T07:34:27Z","updated_at":"2015-12-30T16:07:09Z","closed_at":"2015-08-23T07:34:31Z","body":"Hello!\r\n\r\nI got the following error while trying to run my acceptance tests. All other tests suites are working fine.\r\n\r\n```\r\n/www/prj/vendor/bin/codecept run acceptance --no-colors -d\r\nCodeception PHP Testing Framework v2.1.2\r\nPowered by PHPUnit 4.8.5-1-ga7df5a5 by Sebastian Bergmann and contributors.\r\nPHP Fatal error:  Class 'Facebook\\WebDriver\\Remote\\WebDriverCapabilityType' not found in /www/prj/vendor/codeception/codeception/src/Codeception/Module/WebDriver.php on line 171\r\nPHP Stack trace:\r\nPHP   1. {main}() /www/prj/vendor/codeception/codeception/codecept:0\r\nPHP   2. Symfony\\Component\\Console\\Application->run($input = *uninitialized*, $output = *uninitialized*) /www/prj/vendor/codeception/codeception/codecept:28\r\nPHP   3. Symfony\\Component\\Console\\Application->doRun($input = *uninitialized*, $output = *uninitialized*) /www/prj/vendor/symfony/console/Application.php:126\r\nPHP   4. Symfony\\Component\\Console\\Application->doRunCommand($command = *uninitialized*, $input = *uninitialized*, $output = *uninitialized*) /www/prj/vendor/symfony/console/Application.php:195\r\nPHP   5. Symfony\\Component\\Console\\Command\\Command->run($input = *uninitialized*, $output = *uninitialized*) /www/prj/vendor/symfony/console/Application.php:878\r\nPHP   6. Codeception\\Command\\Run->execute($input = *uninitialized*, $output = *uninitialized*) /www/prj/vendor/symfony/console/Command/Command.php:259\r\nPHP   7. Codeception\\Command\\Run->runSuites($suites = *uninitialized*, $skippedSuites = *uninitialized*) /www/prj/vendor/codeception/codeception/src/Codeception/Command/Run.php:189\r\nPHP   8. Codeception\\Codecept->run($suite = *uninitialized*, $test = *uninitialized*) /www/prj/vendor/codeception/codeception/src/Codeception/Command/Run.php:262\r\nPHP   9. Codeception\\Codecept->runSuite($settings = *uninitialized*, $suite = *uninitialized*, $test = *uninitialized*) /www/prj/vendor/codeception/codeception/src/Codeception/Codecept.php:172\r\nPHP  10. Codeception\\SuiteManager->initialize() /www/prj/vendor/codeception/codeception/src/Codeception/Codecept.php:198\r\nPHP  11. Codeception\\Module\\WebDriver->_initialize() /www/prj/vendor/codeception/codeception/src/Codeception/SuiteManager.php:81\r\n\r\nProcess finished with exit code 255\r\n```\r\n\r\nacceptance.suite.yaml\r\n```\r\nclass_name: AcceptanceTester\r\nmodules:\r\n    enabled:\r\n        - WebDriver\r\n    config:\r\n        WebDriver:\r\n            url: 'http://prj.test' # our url base\r\n            browser: phantomjs\r\n            restart: true\r\n            capabilities:\r\n                unexpectedAlertBehaviour: 'accept'\r\n        Yii2:\r\n            configFile: 'tests/config/acceptance.php'\r\n```\r\n\r\nFacebook/WebDriver version:\r\n```\r\n            \"name\": \"facebook/webdriver\",\r\n            \"version\": \"dev-master\",\r\n            \"source\": {\r\n                \"type\": \"git\",\r\n                \"url\": \"https://github.com/facebook/php-webdriver.git\",\r\n                \"reference\": \"575600dfcfebad49fd0fc59d781b0696462a1f4e\"\r\n            },\r\n            \"dist\": {\r\n                \"type\": \"zip\",\r\n                \"url\": \"https://api.github.com/repos/facebook/php-webdriver/zipball/575600dfcfebad49fd0fc59d781b0696462a1f4e\",\r\n                \"reference\": \"575600dfcfebad49fd0fc59d781b0696462a1f4e\",\r\n                \"shasum\": \"\"\r\n            },\r\n```"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/168024986","html_url":"https://github.com/Codeception/Codeception/issues/2300#issuecomment-168024986","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/2300","id":168024986,"user":{"login":"tivnet","id":1696330,"avatar_url":"https://avatars.githubusercontent.com/u/1696330?v=3","gravatar_id":"","url":"https://api.github.com/users/tivnet","html_url":"https://github.com/tivnet","followers_url":"https://api.github.com/users/tivnet/followers","following_url":"https://api.github.com/users/tivnet/following{/other_user}","gists_url":"https://api.github.com/users/tivnet/gists{/gist_id}","starred_url":"https://api.github.com/users/tivnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tivnet/subscriptions","organizations_url":"https://api.github.com/users/tivnet/orgs","repos_url":"https://api.github.com/users/tivnet/repos","events_url":"https://api.github.com/users/tivnet/events{/privacy}","received_events_url":"https://api.github.com/users/tivnet/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T16:07:09Z","updated_at":"2015-12-30T16:07:09Z","body":"@khamer Thanks Kevin, your comment helped."}}