{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/3173","repository_url":"https://api.github.com/repos/angular/protractor","labels_url":"https://api.github.com/repos/angular/protractor/issues/3173/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/3173/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/3173/events","html_url":"https://github.com/angular/protractor/issues/3173","id":151205067,"number":3173,"title":"Investigate selenium-webdriver 2.53.1 session getCapabilities error","user":{"login":"cnishina","id":1559007,"avatar_url":"https://avatars.githubusercontent.com/u/1559007?v=3","gravatar_id":"","url":"https://api.github.com/users/cnishina","html_url":"https://github.com/cnishina","followers_url":"https://api.github.com/users/cnishina/followers","following_url":"https://api.github.com/users/cnishina/following{/other_user}","gists_url":"https://api.github.com/users/cnishina/gists{/gist_id}","starred_url":"https://api.github.com/users/cnishina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnishina/subscriptions","organizations_url":"https://api.github.com/users/cnishina/orgs","repos_url":"https://api.github.com/users/cnishina/repos","events_url":"https://api.github.com/users/cnishina/events{/privacy}","received_events_url":"https://api.github.com/users/cnishina/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/protractor/labels/status:%20needs%20investigation","name":"status: needs investigation","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"cnishina","id":1559007,"avatar_url":"https://avatars.githubusercontent.com/u/1559007?v=3","gravatar_id":"","url":"https://api.github.com/users/cnishina","html_url":"https://github.com/cnishina","followers_url":"https://api.github.com/users/cnishina/followers","following_url":"https://api.github.com/users/cnishina/following{/other_user}","gists_url":"https://api.github.com/users/cnishina/gists{/gist_id}","starred_url":"https://api.github.com/users/cnishina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnishina/subscriptions","organizations_url":"https://api.github.com/users/cnishina/orgs","repos_url":"https://api.github.com/users/cnishina/repos","events_url":"https://api.github.com/users/cnishina/events{/privacy}","received_events_url":"https://api.github.com/users/cnishina/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-26T18:22:32Z","updated_at":"2016-04-26T19:08:04Z","closed_at":null,"body":"The test creates the session and fails. The session remains open.\r\n```\r\nnode scripts/attachSession.js\r\n[11:19:12] I/attachSession - Using the selenium server at http://localhost:4444/wd/hub\r\n[11:19:12] I/attachSession - Using session id - 5fb531b7-42d9-4c5b-abc9-b7666b5b5a11\r\n[11:19:12] I/launcher - Running 1 instances of WebDriver\r\n[11:19:12] E/launcher - Process exited with error code 1\r\n\r\n/Users/cnishina/protractor/scripts/attachSession.js:57\r\n          throw new Error('Protractor did not run properly.');\r\n          ^\r\n\r\nError: Protractor did not run properly.\r\n    at IncomingMessage.<anonymous> (/Users/cnishina/protractor/scripts/attachSession.js:57:17)\r\n    at emitNone (events.js:72:20)\r\n    at IncomingMessage.emit (events.js:166:7)\r\n    at endReadableNT (_stream_readable.js:905:12)\r\n    at doNTCallback2 (node.js:441:9)\r\n    at process._tickCallback (node.js:355:17)\r\n```\r\n\r\nWhen launching the protractor test manually (with the existing session):\r\n```\r\nnode bin/protractor spec/attachSession.js --seleniumSessionId=5fb531b7-42d9-4c5b-abc9-b7666b5b5a11                                                                                                    ⏎\r\n[11:19:33] I/attachSession - Using the selenium server at http://localhost:4444/wd/hub\r\n[11:19:33] I/attachSession - Using session id - 5fb531b7-42d9-4c5b-abc9-b7666b5b5a11\r\n[11:19:33] I/launcher - Running 1 instances of WebDriver\r\n\r\n/Users/cnishina/protractor/node_modules/selenium-webdriver/lib/promise.js:1343\r\n      return callbackFn(this.value_);\r\n             ^\r\nTypeError: session.getCapabilities is not a function\r\n    at /Users/cnishina/protractor/node_modules/selenium-webdriver/lib/webdriver.js:434:50\r\n    at ManagedPromise.invokeCallback_ (/Users/cnishina/protractor/node_modules/selenium-webdriver/lib/promise.js:1343:14)\r\n    at TaskQueue.execute_ (/Users/cnishina/protractor/node_modules/selenium-webdriver/lib/promise.js:2868:14)\r\n    at TaskQueue.executeNext_ (/Users/cnishina/protractor/node_modules/selenium-webdriver/lib/promise.js:2851:21)\r\n    at /Users/cnishina/protractor/node_modules/selenium-webdriver/lib/promise.js:2730:27\r\n    at /Users/cnishina/protractor/node_modules/selenium-webdriver/lib/promise.js:639:7\r\n    at process._tickCallback (node.js:368:9)\r\n[11:19:33] E/launcher - Process exited with error code 1\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/214852555","html_url":"https://github.com/angular/protractor/issues/3173#issuecomment-214852555","issue_url":"https://api.github.com/repos/angular/protractor/issues/3173","id":214852555,"user":{"login":"pedrro","id":4137355,"avatar_url":"https://avatars.githubusercontent.com/u/4137355?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrro","html_url":"https://github.com/pedrro","followers_url":"https://api.github.com/users/pedrro/followers","following_url":"https://api.github.com/users/pedrro/following{/other_user}","gists_url":"https://api.github.com/users/pedrro/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrro/subscriptions","organizations_url":"https://api.github.com/users/pedrro/orgs","repos_url":"https://api.github.com/users/pedrro/repos","events_url":"https://api.github.com/users/pedrro/events{/privacy}","received_events_url":"https://api.github.com/users/pedrro/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T19:08:04Z","updated_at":"2016-04-26T19:08:04Z","body":"So, I made a quick test here and have some update:\r\n\r\nI made the rollback on the version of **selenium-webdriver** on package.json to version** 2.52.0** and  keep the update on version of selenium and iedriver inside config.json and the tests are running fine again.\r\n\r\nSo, I have a question, have some relationship between the version of selenium-webdriver@package.json and the version of selenium@config.json? If the answer is no, I can update my PR #3172 to just consider the versions inside config.json and also we can create a issue on [selenium](https://github.com/SeleniumHQ/selenium) repository to investigate it.\r\n\r\nWhat do you think? :D"}}