{"action":"created","comment":{"url":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/comments/42093017","id":42093017,"diff_hunk":"@@ -45,6 +45,10 @@ private void InitializeApplication(bool debugDoNotDeploy = false)\n             {\n                 this.Automator.Application.Start(appArguments);\n             }\n+            else\n+            {\n+                this.Automator.Application.ConnectToRunningProcess();","path":"src/Winium.Desktop.Driver/CommandExecutors/NewSessionExecutor.cs","position":6,"original_position":6,"commit_id":"0ff23135820c1cc78093d1fb2c7e2785488d28d1","original_commit_id":"0ff23135820c1cc78093d1fb2c7e2785488d28d1","user":{"login":"skyline-gleb","id":4970194,"avatar_url":"https://avatars.githubusercontent.com/u/4970194?v=3","gravatar_id":"","url":"https://api.github.com/users/skyline-gleb","html_url":"https://github.com/skyline-gleb","followers_url":"https://api.github.com/users/skyline-gleb/followers","following_url":"https://api.github.com/users/skyline-gleb/following{/other_user}","gists_url":"https://api.github.com/users/skyline-gleb/gists{/gist_id}","starred_url":"https://api.github.com/users/skyline-gleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyline-gleb/subscriptions","organizations_url":"https://api.github.com/users/skyline-gleb/orgs","repos_url":"https://api.github.com/users/skyline-gleb/repos","events_url":"https://api.github.com/users/skyline-gleb/events{/privacy}","received_events_url":"https://api.github.com/users/skyline-gleb/received_events","type":"User","site_admin":false},"body":"а есть ли такая необходимость? при флаге `DebugConnectToRunningApp = true` путь до исполняемого файла может быть вообще не задан, а `Automator.Application` и вовсе не используется","created_at":"2015-10-15T08:01:05Z","updated_at":"2015-10-15T08:01:05Z","html_url":"https://github.com/2gis/Winium.Desktop/pull/48#discussion_r42093017","pull_request_url":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/comments/42093017"},"html":{"href":"https://github.com/2gis/Winium.Desktop/pull/48#discussion_r42093017"},"pull_request":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48","id":44606068,"html_url":"https://github.com/2gis/Winium.Desktop/pull/48","diff_url":"https://github.com/2gis/Winium.Desktop/pull/48.diff","patch_url":"https://github.com/2gis/Winium.Desktop/pull/48.patch","issue_url":"https://api.github.com/repos/2gis/Winium.Desktop/issues/48","number":48,"state":"open","locked":false,"title":"Add sessions support","user":{"login":"zebraxxl","id":1532153,"avatar_url":"https://avatars.githubusercontent.com/u/1532153?v=3","gravatar_id":"","url":"https://api.github.com/users/zebraxxl","html_url":"https://github.com/zebraxxl","followers_url":"https://api.github.com/users/zebraxxl/followers","following_url":"https://api.github.com/users/zebraxxl/following{/other_user}","gists_url":"https://api.github.com/users/zebraxxl/gists{/gist_id}","starred_url":"https://api.github.com/users/zebraxxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zebraxxl/subscriptions","organizations_url":"https://api.github.com/users/zebraxxl/orgs","repos_url":"https://api.github.com/users/zebraxxl/repos","events_url":"https://api.github.com/users/zebraxxl/events{/privacy}","received_events_url":"https://api.github.com/users/zebraxxl/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-09T22:00:51Z","updated_at":"2015-10-15T08:01:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d86ed5c88a415ccdd3698420d7e82b9d2d8eb4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48/commits","review_comments_url":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48/comments","review_comment_url":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2gis/Winium.Desktop/issues/48/comments","statuses_url":"https://api.github.com/repos/2gis/Winium.Desktop/statuses/0ff23135820c1cc78093d1fb2c7e2785488d28d1","head":{"label":"zebraxxl:sessions","ref":"sessions","sha":"0ff23135820c1cc78093d1fb2c7e2785488d28d1","user":{"login":"zebraxxl","id":1532153,"avatar_url":"https://avatars.githubusercontent.com/u/1532153?v=3","gravatar_id":"","url":"https://api.github.com/users/zebraxxl","html_url":"https://github.com/zebraxxl","followers_url":"https://api.github.com/users/zebraxxl/followers","following_url":"https://api.github.com/users/zebraxxl/following{/other_user}","gists_url":"https://api.github.com/users/zebraxxl/gists{/gist_id}","starred_url":"https://api.github.com/users/zebraxxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zebraxxl/subscriptions","organizations_url":"https://api.github.com/users/zebraxxl/orgs","repos_url":"https://api.github.com/users/zebraxxl/repos","events_url":"https://api.github.com/users/zebraxxl/events{/privacy}","received_events_url":"https://api.github.com/users/zebraxxl/received_events","type":"User","site_admin":false},"repo":{"id":42206527,"name":"Winium.Desktop","full_name":"zebraxxl/Winium.Desktop","owner":{"login":"zebraxxl","id":1532153,"avatar_url":"https://avatars.githubusercontent.com/u/1532153?v=3","gravatar_id":"","url":"https://api.github.com/users/zebraxxl","html_url":"https://github.com/zebraxxl","followers_url":"https://api.github.com/users/zebraxxl/followers","following_url":"https://api.github.com/users/zebraxxl/following{/other_user}","gists_url":"https://api.github.com/users/zebraxxl/gists{/gist_id}","starred_url":"https://api.github.com/users/zebraxxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zebraxxl/subscriptions","organizations_url":"https://api.github.com/users/zebraxxl/orgs","repos_url":"https://api.github.com/users/zebraxxl/repos","events_url":"https://api.github.com/users/zebraxxl/events{/privacy}","received_events_url":"https://api.github.com/users/zebraxxl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zebraxxl/Winium.Desktop","description":"Winium.Desktop is Selenium Remote WebDriver implementation for automated testing of Windows application based on WinFroms and WPF platforms.","fork":true,"url":"https://api.github.com/repos/zebraxxl/Winium.Desktop","forks_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/forks","keys_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/teams","hooks_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/hooks","issue_events_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/issues/events{/number}","events_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/events","assignees_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/assignees{/user}","branches_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/branches{/branch}","tags_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/tags","blobs_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/languages","stargazers_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/stargazers","contributors_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/contributors","subscribers_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/subscribers","subscription_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/subscription","commits_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/contents/{+path}","compare_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/merges","archive_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/downloads","issues_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/issues{/number}","pulls_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/labels{/name}","releases_url":"https://api.github.com/repos/zebraxxl/Winium.Desktop/releases{/id}","created_at":"2015-09-09T21:45:43Z","updated_at":"2015-09-09T21:45:44Z","pushed_at":"2015-10-14T23:41:15Z","git_url":"git://github.com/zebraxxl/Winium.Desktop.git","ssh_url":"git@github.com:zebraxxl/Winium.Desktop.git","clone_url":"https://github.com/zebraxxl/Winium.Desktop.git","svn_url":"https://github.com/zebraxxl/Winium.Desktop","homepage":null,"size":296,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"2gis:master","ref":"master","sha":"985acd54d6acd94197ce3cc264ef7dcbab5e8c80","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":32451593,"name":"Winium.Desktop","full_name":"2gis/Winium.Desktop","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/Winium.Desktop","description":"Winium.Desktop is Selenium Remote WebDriver implementation for automated testing of Windows application based on WinFroms and WPF platforms.","fork":false,"url":"https://api.github.com/repos/2gis/Winium.Desktop","forks_url":"https://api.github.com/repos/2gis/Winium.Desktop/forks","keys_url":"https://api.github.com/repos/2gis/Winium.Desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/Winium.Desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/Winium.Desktop/teams","hooks_url":"https://api.github.com/repos/2gis/Winium.Desktop/hooks","issue_events_url":"https://api.github.com/repos/2gis/Winium.Desktop/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/Winium.Desktop/events","assignees_url":"https://api.github.com/repos/2gis/Winium.Desktop/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/Winium.Desktop/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/Winium.Desktop/tags","blobs_url":"https://api.github.com/repos/2gis/Winium.Desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/Winium.Desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/Winium.Desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/Winium.Desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/Winium.Desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/Winium.Desktop/languages","stargazers_url":"https://api.github.com/repos/2gis/Winium.Desktop/stargazers","contributors_url":"https://api.github.com/repos/2gis/Winium.Desktop/contributors","subscribers_url":"https://api.github.com/repos/2gis/Winium.Desktop/subscribers","subscription_url":"https://api.github.com/repos/2gis/Winium.Desktop/subscription","commits_url":"https://api.github.com/repos/2gis/Winium.Desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/Winium.Desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/Winium.Desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/Winium.Desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/Winium.Desktop/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/Winium.Desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/Winium.Desktop/merges","archive_url":"https://api.github.com/repos/2gis/Winium.Desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/Winium.Desktop/downloads","issues_url":"https://api.github.com/repos/2gis/Winium.Desktop/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/Winium.Desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/Winium.Desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/Winium.Desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/Winium.Desktop/labels{/name}","releases_url":"https://api.github.com/repos/2gis/Winium.Desktop/releases{/id}","created_at":"2015-03-18T10:11:09Z","updated_at":"2015-09-24T11:20:36Z","pushed_at":"2015-10-14T23:41:15Z","git_url":"git://github.com/2gis/Winium.Desktop.git","ssh_url":"git@github.com:2gis/Winium.Desktop.git","clone_url":"https://github.com/2gis/Winium.Desktop.git","svn_url":"https://github.com/2gis/Winium.Desktop","homepage":null,"size":979,"stargazers_count":39,"watchers_count":39,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":6,"forks":8,"open_issues":6,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48"},"html":{"href":"https://github.com/2gis/Winium.Desktop/pull/48"},"issue":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/issues/48"},"comments":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/2gis/Winium.Desktop/statuses/0ff23135820c1cc78093d1fb2c7e2785488d28d1"}}}}