{"action":"created","issue":{"url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/96","labels_url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/96/comments","events_url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/96/events","html_url":"https://github.com/xolvio/meteor-cucumber/issues/96","id":76321049,"number":96,"title":"SyntaxError: Unexpected token a","user":{"login":"DominikGuzei","id":172414,"avatar_url":"https://avatars.githubusercontent.com/u/172414?v=3","gravatar_id":"","url":"https://api.github.com/users/DominikGuzei","html_url":"https://github.com/DominikGuzei","followers_url":"https://api.github.com/users/DominikGuzei/followers","following_url":"https://api.github.com/users/DominikGuzei/following{/other_user}","gists_url":"https://api.github.com/users/DominikGuzei/gists{/gist_id}","starred_url":"https://api.github.com/users/DominikGuzei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominikGuzei/subscriptions","organizations_url":"https://api.github.com/users/DominikGuzei/orgs","repos_url":"https://api.github.com/users/DominikGuzei/repos","events_url":"https://api.github.com/users/DominikGuzei/events{/privacy}","received_events_url":"https://api.github.com/users/DominikGuzei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-14T10:59:30Z","updated_at":"2015-05-14T11:04:53Z","closed_at":null,"body":"Hey there,\r\nSometimes when I have a step that calls `@browser.url('…')` I get this weird error:\r\n```\r\nSyntaxError: Unexpected token a\r\n        at Object.parse (native)\r\n        at [object Object].<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.8.0.1by8sdn++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/cuke-monkey/lib/cucumberjs/hooks.js:118:24)\r\n        at [object Object].emit (events.js:117:20)\r\n        at RequestHandler.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.8.0.1by8sdn++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/cuke-monkey/node_modules/webdriverio/lib/utils/RequestHandler.js:164:40)\r\n        at Request.self.callback (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.8.0.1by8sdn++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/cuke-monkey/node_modules/webdriverio/node_modules/request/request.js:121:22)\r\n        at Request.emit (events.js:98:17)\r\n        at Request.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.8.0.1by8sdn++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/cuke-monkey/node_modules/webdriverio/node_modules/request/request.js:978:14)\r\n        at Request.emit (events.js:117:20)\r\n        at IncomingMessage.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.8.0.1by8sdn++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/cuke-monkey/node_modules/webdriverio/node_modules/request/request.js:929:12)\r\n        at IncomingMessage.emit (events.js:117:20)\r\n        at _stream_readable.js:944:16\r\n        at process._tickDomainCallback (node.js:486:13)\r\n\r\n[cuke-monkey][hooks] browser error event - capturing screenshot\r\n\r\nevents.js:72\r\n        throw er; // Unhandled 'error' event\r\n              ^\r\n```\r\n\r\nThe problem is, that it occurs randomly and can often be resolved by restarting the application.\r\nDo you have any idea what the underlying problem could be?"},"comment":{"url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/comments/102004319","html_url":"https://github.com/xolvio/meteor-cucumber/issues/96#issuecomment-102004319","issue_url":"https://api.github.com/repos/xolvio/meteor-cucumber/issues/96","id":102004319,"user":{"login":"DominikGuzei","id":172414,"avatar_url":"https://avatars.githubusercontent.com/u/172414?v=3","gravatar_id":"","url":"https://api.github.com/users/DominikGuzei","html_url":"https://github.com/DominikGuzei","followers_url":"https://api.github.com/users/DominikGuzei/followers","following_url":"https://api.github.com/users/DominikGuzei/following{/other_user}","gists_url":"https://api.github.com/users/DominikGuzei/gists{/gist_id}","starred_url":"https://api.github.com/users/DominikGuzei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominikGuzei/subscriptions","organizations_url":"https://api.github.com/users/DominikGuzei/orgs","repos_url":"https://api.github.com/users/DominikGuzei/repos","events_url":"https://api.github.com/users/DominikGuzei/events{/privacy}","received_events_url":"https://api.github.com/users/DominikGuzei/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T11:04:53Z","updated_at":"2015-05-14T11:04:53Z","body":"I should say that I use the `SELENIUM_BROWSER=chrome` flag :wink: "}}