{"action":"created","comment":{"url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/comments/59366947","id":59366947,"diff_hunk":"@@ -75,6 +77,19 @@ export default class SaucelabsConnector {\n         if (timeout)\r\n             initParams.maxDuration = timeout;\r\n \r\n+\r\n+        // NOTE: if starts IE 11, the option \"Display intranet sites in Compatibility View\" should be disabled.\r\n+        // We do this via 'prerun' parameter, which should run our script on Sauce Labs side, before the browser starts.\r\n+        if (browser.browserName === 'internet explorer' && browser.version === '11.0') {\r\n+            var scriptName = 'disable-intranet-compatibility-mode-in-ie.bat';\r","path":"src/index.js","position":51,"original_position":51,"commit_id":"37b8d0fddeab1e1b066322773a4316fc0e421036","original_commit_id":"37b8d0fddeab1e1b066322773a4316fc0e421036","user":{"login":"AlexanderMoskovkin","id":12047804,"avatar_url":"https://avatars.githubusercontent.com/u/12047804?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderMoskovkin","html_url":"https://github.com/AlexanderMoskovkin","followers_url":"https://api.github.com/users/AlexanderMoskovkin/followers","following_url":"https://api.github.com/users/AlexanderMoskovkin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMoskovkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMoskovkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMoskovkin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMoskovkin/orgs","repos_url":"https://api.github.com/users/AlexanderMoskovkin/repos","events_url":"https://api.github.com/users/AlexanderMoskovkin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMoskovkin/received_events","type":"User","site_admin":false},"body":"it should be const at the top of the file, and filePath too.\r\n```js\r\nconst PRERUN_SCRIPT_DIR_PATH = toAbsPath('...');\r\nconst DISABLE_COMPAITIBILITY_MODE_IE_SCIPR_FILENAME = ''\r\n```","created_at":"2016-04-12T12:32:49Z","updated_at":"2016-04-12T12:32:49Z","html_url":"https://github.com/AlexanderMoskovkin/saucelabs-connector/pull/13#discussion_r59366947","pull_request_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/comments/59366947"},"html":{"href":"https://github.com/AlexanderMoskovkin/saucelabs-connector/pull/13#discussion_r59366947"},"pull_request":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13","id":66138039,"html_url":"https://github.com/AlexanderMoskovkin/saucelabs-connector/pull/13","diff_url":"https://github.com/AlexanderMoskovkin/saucelabs-connector/pull/13.diff","patch_url":"https://github.com/AlexanderMoskovkin/saucelabs-connector/pull/13.patch","issue_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/issues/13","number":13,"state":"open","locked":false,"title":"Compatibility view disabled in IE 11 via 'prerun' initial parameter (closes #12)","user":{"login":"georgiy-abbasov","id":15088565,"avatar_url":"https://avatars.githubusercontent.com/u/15088565?v=3","gravatar_id":"","url":"https://api.github.com/users/georgiy-abbasov","html_url":"https://github.com/georgiy-abbasov","followers_url":"https://api.github.com/users/georgiy-abbasov/followers","following_url":"https://api.github.com/users/georgiy-abbasov/following{/other_user}","gists_url":"https://api.github.com/users/georgiy-abbasov/gists{/gist_id}","starred_url":"https://api.github.com/users/georgiy-abbasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgiy-abbasov/subscriptions","organizations_url":"https://api.github.com/users/georgiy-abbasov/orgs","repos_url":"https://api.github.com/users/georgiy-abbasov/repos","events_url":"https://api.github.com/users/georgiy-abbasov/events{/privacy}","received_events_url":"https://api.github.com/users/georgiy-abbasov/received_events","type":"User","site_admin":false},"body":"\\cc @AlexanderMoskovkin ","created_at":"2016-04-12T11:01:07Z","updated_at":"2016-04-12T12:32:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0724568ad379e217d8141370d49df6e409e94437","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13/commits","review_comments_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13/comments","review_comment_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/issues/13/comments","statuses_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/statuses/37b8d0fddeab1e1b066322773a4316fc0e421036","head":{"label":"georgiy-abbasov:disable-ie-11-compatibility-view-option","ref":"disable-ie-11-compatibility-view-option","sha":"37b8d0fddeab1e1b066322773a4316fc0e421036","user":{"login":"georgiy-abbasov","id":15088565,"avatar_url":"https://avatars.githubusercontent.com/u/15088565?v=3","gravatar_id":"","url":"https://api.github.com/users/georgiy-abbasov","html_url":"https://github.com/georgiy-abbasov","followers_url":"https://api.github.com/users/georgiy-abbasov/followers","following_url":"https://api.github.com/users/georgiy-abbasov/following{/other_user}","gists_url":"https://api.github.com/users/georgiy-abbasov/gists{/gist_id}","starred_url":"https://api.github.com/users/georgiy-abbasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgiy-abbasov/subscriptions","organizations_url":"https://api.github.com/users/georgiy-abbasov/orgs","repos_url":"https://api.github.com/users/georgiy-abbasov/repos","events_url":"https://api.github.com/users/georgiy-abbasov/events{/privacy}","received_events_url":"https://api.github.com/users/georgiy-abbasov/received_events","type":"User","site_admin":false},"repo":{"id":45611186,"name":"saucelabs-connector","full_name":"georgiy-abbasov/saucelabs-connector","owner":{"login":"georgiy-abbasov","id":15088565,"avatar_url":"https://avatars.githubusercontent.com/u/15088565?v=3","gravatar_id":"","url":"https://api.github.com/users/georgiy-abbasov","html_url":"https://github.com/georgiy-abbasov","followers_url":"https://api.github.com/users/georgiy-abbasov/followers","following_url":"https://api.github.com/users/georgiy-abbasov/following{/other_user}","gists_url":"https://api.github.com/users/georgiy-abbasov/gists{/gist_id}","starred_url":"https://api.github.com/users/georgiy-abbasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgiy-abbasov/subscriptions","organizations_url":"https://api.github.com/users/georgiy-abbasov/orgs","repos_url":"https://api.github.com/users/georgiy-abbasov/repos","events_url":"https://api.github.com/users/georgiy-abbasov/events{/privacy}","received_events_url":"https://api.github.com/users/georgiy-abbasov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/georgiy-abbasov/saucelabs-connector","description":"","fork":true,"url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector","forks_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/forks","keys_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/teams","hooks_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/hooks","issue_events_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/issues/events{/number}","events_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/events","assignees_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/assignees{/user}","branches_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/branches{/branch}","tags_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/tags","blobs_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/languages","stargazers_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/stargazers","contributors_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/contributors","subscribers_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/subscribers","subscription_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/subscription","commits_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/contents/{+path}","compare_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/merges","archive_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/downloads","issues_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/issues{/number}","pulls_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/labels{/name}","releases_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/releases{/id}","deployments_url":"https://api.github.com/repos/georgiy-abbasov/saucelabs-connector/deployments","created_at":"2015-11-05T12:55:35Z","updated_at":"2016-04-12T10:16:50Z","pushed_at":"2016-04-12T10:59:39Z","git_url":"git://github.com/georgiy-abbasov/saucelabs-connector.git","ssh_url":"git@github.com:georgiy-abbasov/saucelabs-connector.git","clone_url":"https://github.com/georgiy-abbasov/saucelabs-connector.git","svn_url":"https://github.com/georgiy-abbasov/saucelabs-connector","homepage":null,"size":12,"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":"AlexanderMoskovkin:master","ref":"master","sha":"044d4aaaf92487583e3a18e5cc05bb3f0733f570","user":{"login":"AlexanderMoskovkin","id":12047804,"avatar_url":"https://avatars.githubusercontent.com/u/12047804?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderMoskovkin","html_url":"https://github.com/AlexanderMoskovkin","followers_url":"https://api.github.com/users/AlexanderMoskovkin/followers","following_url":"https://api.github.com/users/AlexanderMoskovkin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMoskovkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMoskovkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMoskovkin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMoskovkin/orgs","repos_url":"https://api.github.com/users/AlexanderMoskovkin/repos","events_url":"https://api.github.com/users/AlexanderMoskovkin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMoskovkin/received_events","type":"User","site_admin":false},"repo":{"id":45611151,"name":"saucelabs-connector","full_name":"AlexanderMoskovkin/saucelabs-connector","owner":{"login":"AlexanderMoskovkin","id":12047804,"avatar_url":"https://avatars.githubusercontent.com/u/12047804?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderMoskovkin","html_url":"https://github.com/AlexanderMoskovkin","followers_url":"https://api.github.com/users/AlexanderMoskovkin/followers","following_url":"https://api.github.com/users/AlexanderMoskovkin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMoskovkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMoskovkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMoskovkin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMoskovkin/orgs","repos_url":"https://api.github.com/users/AlexanderMoskovkin/repos","events_url":"https://api.github.com/users/AlexanderMoskovkin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMoskovkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexanderMoskovkin/saucelabs-connector","description":"","fork":false,"url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector","forks_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/forks","keys_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/teams","hooks_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/hooks","issue_events_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/events","assignees_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/tags","blobs_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/languages","stargazers_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/stargazers","contributors_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/contributors","subscribers_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/subscribers","subscription_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/subscription","commits_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/merges","archive_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/downloads","issues_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/deployments","created_at":"2015-11-05T12:54:56Z","updated_at":"2015-11-19T08:46:40Z","pushed_at":"2016-04-12T11:01:07Z","git_url":"git://github.com/AlexanderMoskovkin/saucelabs-connector.git","ssh_url":"git@github.com:AlexanderMoskovkin/saucelabs-connector.git","clone_url":"https://github.com/AlexanderMoskovkin/saucelabs-connector.git","svn_url":"https://github.com/AlexanderMoskovkin/saucelabs-connector","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13"},"html":{"href":"https://github.com/AlexanderMoskovkin/saucelabs-connector/pull/13"},"issue":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/issues/13"},"comments":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/AlexanderMoskovkin/saucelabs-connector/statuses/37b8d0fddeab1e1b066322773a4316fc0e421036"}}}}