{"action":"closed","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2651","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2651/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2651/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2651/events","html_url":"https://github.com/Codeception/Codeception/issues/2651","id":123438699,"number":2651,"title":"WebDriverException when no proxy config defined","user":{"login":"vaikla","id":151228,"avatar_url":"https://avatars.githubusercontent.com/u/151228?v=3","gravatar_id":"","url":"https://api.github.com/users/vaikla","html_url":"https://github.com/vaikla","followers_url":"https://api.github.com/users/vaikla/followers","following_url":"https://api.github.com/users/vaikla/following{/other_user}","gists_url":"https://api.github.com/users/vaikla/gists{/gist_id}","starred_url":"https://api.github.com/users/vaikla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaikla/subscriptions","organizations_url":"https://api.github.com/users/vaikla/orgs","repos_url":"https://api.github.com/users/vaikla/repos","events_url":"https://api.github.com/users/vaikla/events{/privacy}","received_events_url":"https://api.github.com/users/vaikla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/WebDriver","name":"WebDriver","color":"bdc3c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-22T08:36:18Z","updated_at":"2015-12-30T15:23:45Z","closed_at":"2015-12-30T15:23:45Z","body":"If no proxy capabilities are defined in acceptance.suite.yml I get \r\n```\r\n[Facebook\\WebDriver\\Exception\\WebDriverException]\r\nJSON decoding of remote response failed.\r\nError code: 4\r\nThe response: 'TypeError - null is not an object (evaluating 'proxyCapability[\"proxyType\"]')'\r\n```\r\n\r\nhttps://github.com/Codeception/Codeception/blob/2.1/src/Codeception/Module/WebDriver.php#L195 I get null from $this->getProxy() and $this->capabilities contents are set\r\n```\r\narray(3) {\r\n  [\"unexpectedAlertBehaviour\"]=>\r\n  string(6) \"accept\"\r\n  [\"browserName\"]=>\r\n  string(9) \"phantomjs\"\r\n  [\"proxy\"]=>\r\n  NULL\r\n}\r\n```\r\n\r\nIs there somekind of mistake or should the documentation be updated?"}}