{"action":"created","comment":{"url":"https://api.github.com/repos/angular/protractor/pulls/comments/22835778","id":22835778,"diff_hunk":"@@ -153,6 +154,26 @@ var init = function(configFile, additionalConfig) {\n       }\n     });\n   }).then(function() {\n+    // 3) If we're in `elementExplorer` mode, run only that.\n+    if (config.elementExplorer) {\n+      if (config.multiCapabilities.length != 1) {\n+        throw new Error('Must specify only 1 browser while using elementExplorer');","path":"lib/launcher.js","position":27,"original_position":27,"commit_id":"749d4d3a693e9749a6e0c088813b43f239d33b7f","original_commit_id":"749d4d3a693e9749a6e0c088813b43f239d33b7f","user":{"login":"hankduan","id":1059345,"avatar_url":"https://avatars.githubusercontent.com/u/1059345?v=3","gravatar_id":"","url":"https://api.github.com/users/hankduan","html_url":"https://github.com/hankduan","followers_url":"https://api.github.com/users/hankduan/followers","following_url":"https://api.github.com/users/hankduan/following{/other_user}","gists_url":"https://api.github.com/users/hankduan/gists{/gist_id}","starred_url":"https://api.github.com/users/hankduan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankduan/subscriptions","organizations_url":"https://api.github.com/users/hankduan/orgs","repos_url":"https://api.github.com/users/hankduan/repos","events_url":"https://api.github.com/users/hankduan/events{/privacy}","received_events_url":"https://api.github.com/users/hankduan/received_events","type":"User","site_admin":false},"body":"Ahh, I see what you mean. I did mark the explorer framework as private so people shouldn't be messing around with it...but I'll change the conditional to safeguard it too. ","created_at":"2015-01-13T00:40:08Z","updated_at":"2015-01-13T00:40:08Z","html_url":"https://github.com/angular/protractor/pull/1693#discussion_r22835778","pull_request_url":"https://api.github.com/repos/angular/protractor/pulls/1693","_links":{"self":{"href":"https://api.github.com/repos/angular/protractor/pulls/comments/22835778"},"html":{"href":"https://github.com/angular/protractor/pull/1693#discussion_r22835778"},"pull_request":{"href":"https://api.github.com/repos/angular/protractor/pulls/1693"}}},"pull_request":{"url":"https://api.github.com/repos/angular/protractor/pulls/1693","id":26932927,"html_url":"https://github.com/angular/protractor/pull/1693","diff_url":"https://github.com/angular/protractor/pull/1693.diff","patch_url":"https://github.com/angular/protractor/pull/1693.patch","issue_url":"https://api.github.com/repos/angular/protractor/issues/1693","number":1693,"state":"open","locked":false,"title":"feat(elementExplorer): Combine browser.pause with elementExplorer","user":{"login":"hankduan","id":1059345,"avatar_url":"https://avatars.githubusercontent.com/u/1059345?v=3","gravatar_id":"","url":"https://api.github.com/users/hankduan","html_url":"https://github.com/hankduan","followers_url":"https://api.github.com/users/hankduan/followers","following_url":"https://api.github.com/users/hankduan/following{/other_user}","gists_url":"https://api.github.com/users/hankduan/gists{/gist_id}","starred_url":"https://api.github.com/users/hankduan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankduan/subscriptions","organizations_url":"https://api.github.com/users/hankduan/orgs","repos_url":"https://api.github.com/users/hankduan/repos","events_url":"https://api.github.com/users/hankduan/events{/privacy}","received_events_url":"https://api.github.com/users/hankduan/received_events","type":"User","site_admin":false},"body":"* reuse logic for browser.pause for elementExplorer\r\n* introduce browser.enterRepl\r\n* allow customization of driver for elementExplorer\r\n* fix bug where repl cannot return an ElementFinder (related #1600)\r\n\r\nCloses #1314, #1315","created_at":"2015-01-07T01:58:34Z","updated_at":"2015-01-13T00:40:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0e6fadcde05a3bb9d9222d3e58c0cab67f9a371","assignee":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/protractor/pulls/1693/commits","review_comments_url":"https://api.github.com/repos/angular/protractor/pulls/1693/comments","review_comment_url":"https://api.github.com/repos/angular/protractor/pulls/comments/{number}","comments_url":"https://api.github.com/repos/angular/protractor/issues/1693/comments","statuses_url":"https://api.github.com/repos/angular/protractor/statuses/749d4d3a693e9749a6e0c088813b43f239d33b7f","head":{"label":"hankduan:combineElementExplorer","ref":"combineElementExplorer","sha":"749d4d3a693e9749a6e0c088813b43f239d33b7f","user":{"login":"hankduan","id":1059345,"avatar_url":"https://avatars.githubusercontent.com/u/1059345?v=3","gravatar_id":"","url":"https://api.github.com/users/hankduan","html_url":"https://github.com/hankduan","followers_url":"https://api.github.com/users/hankduan/followers","following_url":"https://api.github.com/users/hankduan/following{/other_user}","gists_url":"https://api.github.com/users/hankduan/gists{/gist_id}","starred_url":"https://api.github.com/users/hankduan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankduan/subscriptions","organizations_url":"https://api.github.com/users/hankduan/orgs","repos_url":"https://api.github.com/users/hankduan/repos","events_url":"https://api.github.com/users/hankduan/events{/privacy}","received_events_url":"https://api.github.com/users/hankduan/received_events","type":"User","site_admin":false},"repo":{"id":18743630,"name":"protractor","full_name":"hankduan/protractor","owner":{"login":"hankduan","id":1059345,"avatar_url":"https://avatars.githubusercontent.com/u/1059345?v=3","gravatar_id":"","url":"https://api.github.com/users/hankduan","html_url":"https://github.com/hankduan","followers_url":"https://api.github.com/users/hankduan/followers","following_url":"https://api.github.com/users/hankduan/following{/other_user}","gists_url":"https://api.github.com/users/hankduan/gists{/gist_id}","starred_url":"https://api.github.com/users/hankduan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankduan/subscriptions","organizations_url":"https://api.github.com/users/hankduan/orgs","repos_url":"https://api.github.com/users/hankduan/repos","events_url":"https://api.github.com/users/hankduan/events{/privacy}","received_events_url":"https://api.github.com/users/hankduan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hankduan/protractor","description":"E2E test framework for Angular apps","fork":true,"url":"https://api.github.com/repos/hankduan/protractor","forks_url":"https://api.github.com/repos/hankduan/protractor/forks","keys_url":"https://api.github.com/repos/hankduan/protractor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hankduan/protractor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hankduan/protractor/teams","hooks_url":"https://api.github.com/repos/hankduan/protractor/hooks","issue_events_url":"https://api.github.com/repos/hankduan/protractor/issues/events{/number}","events_url":"https://api.github.com/repos/hankduan/protractor/events","assignees_url":"https://api.github.com/repos/hankduan/protractor/assignees{/user}","branches_url":"https://api.github.com/repos/hankduan/protractor/branches{/branch}","tags_url":"https://api.github.com/repos/hankduan/protractor/tags","blobs_url":"https://api.github.com/repos/hankduan/protractor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hankduan/protractor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hankduan/protractor/git/refs{/sha}","trees_url":"https://api.github.com/repos/hankduan/protractor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hankduan/protractor/statuses/{sha}","languages_url":"https://api.github.com/repos/hankduan/protractor/languages","stargazers_url":"https://api.github.com/repos/hankduan/protractor/stargazers","contributors_url":"https://api.github.com/repos/hankduan/protractor/contributors","subscribers_url":"https://api.github.com/repos/hankduan/protractor/subscribers","subscription_url":"https://api.github.com/repos/hankduan/protractor/subscription","commits_url":"https://api.github.com/repos/hankduan/protractor/commits{/sha}","git_commits_url":"https://api.github.com/repos/hankduan/protractor/git/commits{/sha}","comments_url":"https://api.github.com/repos/hankduan/protractor/comments{/number}","issue_comment_url":"https://api.github.com/repos/hankduan/protractor/issues/comments/{number}","contents_url":"https://api.github.com/repos/hankduan/protractor/contents/{+path}","compare_url":"https://api.github.com/repos/hankduan/protractor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hankduan/protractor/merges","archive_url":"https://api.github.com/repos/hankduan/protractor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hankduan/protractor/downloads","issues_url":"https://api.github.com/repos/hankduan/protractor/issues{/number}","pulls_url":"https://api.github.com/repos/hankduan/protractor/pulls{/number}","milestones_url":"https://api.github.com/repos/hankduan/protractor/milestones{/number}","notifications_url":"https://api.github.com/repos/hankduan/protractor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hankduan/protractor/labels{/name}","releases_url":"https://api.github.com/repos/hankduan/protractor/releases{/id}","created_at":"2014-04-14T00:28:37Z","updated_at":"2015-01-09T18:17:15Z","pushed_at":"2015-01-09T18:17:14Z","git_url":"git://github.com/hankduan/protractor.git","ssh_url":"git@github.com:hankduan/protractor.git","clone_url":"https://github.com/hankduan/protractor.git","svn_url":"https://github.com/hankduan/protractor","homepage":null,"size":3853,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"5a404c27326fdb130e5d4ac5c4704b4013c78853","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":7639232,"name":"protractor","full_name":"angular/protractor","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/protractor","description":"E2E test framework for Angular apps","fork":false,"url":"https://api.github.com/repos/angular/protractor","forks_url":"https://api.github.com/repos/angular/protractor/forks","keys_url":"https://api.github.com/repos/angular/protractor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/protractor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/protractor/teams","hooks_url":"https://api.github.com/repos/angular/protractor/hooks","issue_events_url":"https://api.github.com/repos/angular/protractor/issues/events{/number}","events_url":"https://api.github.com/repos/angular/protractor/events","assignees_url":"https://api.github.com/repos/angular/protractor/assignees{/user}","branches_url":"https://api.github.com/repos/angular/protractor/branches{/branch}","tags_url":"https://api.github.com/repos/angular/protractor/tags","blobs_url":"https://api.github.com/repos/angular/protractor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/protractor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/protractor/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/protractor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/protractor/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/protractor/languages","stargazers_url":"https://api.github.com/repos/angular/protractor/stargazers","contributors_url":"https://api.github.com/repos/angular/protractor/contributors","subscribers_url":"https://api.github.com/repos/angular/protractor/subscribers","subscription_url":"https://api.github.com/repos/angular/protractor/subscription","commits_url":"https://api.github.com/repos/angular/protractor/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/protractor/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/protractor/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/protractor/issues/comments/{number}","contents_url":"https://api.github.com/repos/angular/protractor/contents/{+path}","compare_url":"https://api.github.com/repos/angular/protractor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/protractor/merges","archive_url":"https://api.github.com/repos/angular/protractor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/protractor/downloads","issues_url":"https://api.github.com/repos/angular/protractor/issues{/number}","pulls_url":"https://api.github.com/repos/angular/protractor/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/protractor/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/protractor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/protractor/labels{/name}","releases_url":"https://api.github.com/repos/angular/protractor/releases{/id}","created_at":"2013-01-16T04:30:53Z","updated_at":"2015-01-12T23:51:21Z","pushed_at":"2015-01-12T23:51:21Z","git_url":"git://github.com/angular/protractor.git","ssh_url":"git@github.com:angular/protractor.git","clone_url":"https://github.com/angular/protractor.git","svn_url":"https://github.com/angular/protractor","homepage":"http://www.protractortest.org","size":9836,"stargazers_count":3100,"watchers_count":3100,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":583,"mirror_url":null,"open_issues_count":111,"forks":583,"open_issues":111,"watchers":3100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/protractor/pulls/1693"},"html":{"href":"https://github.com/angular/protractor/pull/1693"},"issue":{"href":"https://api.github.com/repos/angular/protractor/issues/1693"},"comments":{"href":"https://api.github.com/repos/angular/protractor/issues/1693/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/protractor/pulls/1693/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/protractor/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/angular/protractor/pulls/1693/commits"},"statuses":{"href":"https://api.github.com/repos/angular/protractor/statuses/749d4d3a693e9749a6e0c088813b43f239d33b7f"}}}}