{"action":"created","issue":{"url":"https://api.github.com/repos/xolvio/chimp/issues/78","labels_url":"https://api.github.com/repos/xolvio/chimp/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/xolvio/chimp/issues/78/comments","events_url":"https://api.github.com/repos/xolvio/chimp/issues/78/events","html_url":"https://github.com/xolvio/chimp/issues/78","id":108531904,"number":78,"title":"Be less sensitive to closed windows / stale browser sessions","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":4,"created_at":"2015-09-27T12:17:34Z","updated_at":"2015-09-27T18:38:39Z","closed_at":null,"body":"Hey there!\r\nJust wanted to point a problem that i am running into a lot when working with services like Facebook that use pop-ups etc. Chimp currently is really sensitive to browser windows not being closed \"correctly\" etc. which is kind of annoying when you try to setup a tab-switching workflow in your tests.\r\n\r\nTo try it, just run some tests and close the browser window by hand in the middle of anything. Chimp will completely freak out and not restart anymore. IMO it should not care at all – just stop the current test run and wait for the next file change to be there for you :wink: \r\n\r\nHere is one of the logs from such an error where i have to completely restart the test-server afterwards:\r\n```shell\r\n[chimp][hooks] BeforeFeatures hook had error\r\n{ [Error: Window not found. The browser window may have been closed.\r\nBuild info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'\r\nSystem info: host: 'Macintosh.local', ip: '25.174.89.152', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.8.0_60'\r\nDriver info: driver.version: unknown]\r\n  message: 'Window not found. The browser window may have been closed.\\nBuild info: version: \\'2.47.1\\', revision: \\'411b314\\', time: \\'2015-07-30 03:03:16\\'\\nSystem info: host: \\'Macintosh.local\\', ip: \\'25.174.89.152\\', os.name: \\'Mac OS X\\', os.arch: \\'x86_64\\', os.version: \\'10.9.5\\', java.version: \\'1.8.0_60\\'\\nDriver info: driver.version: unknown',\r\n  type: 'RuntimeError' }\r\nError: Window not found. The browser window may have been closed.\r\n  at Object.Future.wait (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/fibers/future.js:420:15)\r\n  at Object.timeoutsAsyncScriptSync (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/xolvio-fiber-utils/index.js:48:19)\r\n  at initBrowser (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/lib/cucumberjs/hooks.js:91:15)\r\n  at /Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/lib/cucumberjs/hooks.js:119:7\r\n  at /Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/lib/cucumber-wrapper.js:116:43\r\n\r\n    - - - - -\r\nBuild info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'\r\nSystem info: host: 'Macintosh.local', ip: '25.174.89.152', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.8.0_60'\r\nDriver info: driver.version: unknown\r\n  at new ErrorHandler.RuntimeError (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/lib/utils/ErrorHandler.js:92:12)\r\n  at RequestHandler.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/lib/utils/RequestHandler.js:138:25)\r\n  at Request.self.callback (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/node_modules/request/request.js:373:22)\r\n  at Request.emit (events.js:98:17)\r\n  at Request.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/node_modules/request/request.js:1318:14)\r\n  at Request.emit (events.js:117:20)\r\n  at IncomingMessage.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/node_modules/request/request.js:1266: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:492:13)\r\n\r\n[chimp] Finished running async processes with errors\r\n[chimp] run complete with errors Cucumber steps failed\r\n[chimp] Could not get Cucumber Results from run result:\r\n[ undefined, [ null ] ]\r\n[xolvio:cucumber] Bad response from Chimp server.\r\n{ statusCode: 200,\r\n  content: '',\r\n  headers: \r\n   { 'content-type': 'application/json; charset=utf-8',\r\n     'cache-control': 'no-cache',\r\n     'content-length': '0',\r\n     date: 'Sun, 27 Sep 2015 12:09:36 GMT',\r\n     connection: 'keep-alive' },\r\n  data: null }\r\n```"},"comment":{"url":"https://api.github.com/repos/xolvio/chimp/issues/comments/143583241","html_url":"https://github.com/xolvio/chimp/issues/78#issuecomment-143583241","issue_url":"https://api.github.com/repos/xolvio/chimp/issues/78","id":143583241,"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-09-27T18:38:39Z","updated_at":"2015-09-27T18:38:39Z","body":"You're welcome, thanks so much for taking on the problem! :+1: "}}