{"action":"created","comment":{"url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/comments/41484606","id":41484606,"diff_hunk":"@@ -0,0 +1,144 @@\n+﻿namespace Winium.Cruciatus.Helpers.XPath\n+{\n+    #region using\n+\n+    using System;\n+    using System.Collections.Generic;\n+    using System.Linq;\n+    using System.Windows.Automation;\n+    using System.Xml.XPath;\n+\n+    #endregion\n+\n+    internal class ElementItem : XPathItem\n+    {\n+        #region Fields\n+\n+        private readonly AutomationElement element;\n+\n+        private readonly TreeWalker treeWalker = TreeWalker.ControlViewWalker;\n+\n+        private List<AutomationProperty> properties;\n+\n+        #endregion\n+\n+        #region Constructors and Destructors\n+\n+        internal ElementItem(AutomationElement element)\n+        {\n+            if (element == null)\n+            {\n+                throw new ArgumentNullException(\"element\");\n+            }\n+\n+            this.element = element;\n+        }\n+\n+        #endregion\n+\n+        #region Properties\n+\n+        internal override bool IsEmptyElement\n+        {\n+            get\n+            {\n+                return this.MoveToFirstChild() == null;","path":"src/Winium.Cruciatus/Helpers/XPath/ElementItem.cs","position":45,"original_position":45,"commit_id":"945f90b6d5c100756be39ad52bd161d4047e03b8","original_commit_id":"945f90b6d5c100756be39ad52bd161d4047e03b8","user":{"login":"tkurnosova","id":1109313,"avatar_url":"https://avatars.githubusercontent.com/u/1109313?v=3","gravatar_id":"","url":"https://api.github.com/users/tkurnosova","html_url":"https://github.com/tkurnosova","followers_url":"https://api.github.com/users/tkurnosova/followers","following_url":"https://api.github.com/users/tkurnosova/following{/other_user}","gists_url":"https://api.github.com/users/tkurnosova/gists{/gist_id}","starred_url":"https://api.github.com/users/tkurnosova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkurnosova/subscriptions","organizations_url":"https://api.github.com/users/tkurnosova/orgs","repos_url":"https://api.github.com/users/tkurnosova/repos","events_url":"https://api.github.com/users/tkurnosova/events{/privacy}","received_events_url":"https://api.github.com/users/tkurnosova/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-10-08T07:49:31Z","updated_at":"2015-10-08T07:49:31Z","html_url":"https://github.com/2gis/Winium.Cruciatus/pull/48#discussion_r41484606","pull_request_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/comments/41484606"},"html":{"href":"https://github.com/2gis/Winium.Cruciatus/pull/48#discussion_r41484606"},"pull_request":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48","id":47113226,"html_url":"https://github.com/2gis/Winium.Cruciatus/pull/48","diff_url":"https://github.com/2gis/Winium.Cruciatus/pull/48.diff","patch_url":"https://github.com/2gis/Winium.Cruciatus/pull/48.patch","issue_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/48","number":48,"state":"open","locked":false,"title":"Feature/xpath","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":"for resolve https://github.com/2gis/Winium.Desktop/issues/43","created_at":"2015-10-08T05:32:20Z","updated_at":"2015-10-08T07:49:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6645abc7d231971e3aaf19d06293421dcbd87ae1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48/commits","review_comments_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48/comments","review_comment_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/48/comments","statuses_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/statuses/945f90b6d5c100756be39ad52bd161d4047e03b8","head":{"label":"2gis:feature/xpath","ref":"feature/xpath","sha":"945f90b6d5c100756be39ad52bd161d4047e03b8","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":14135437,"name":"Winium.Cruciatus","full_name":"2gis/Winium.Cruciatus","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.Cruciatus","description":"C# Framework for automated testing of Windows application based on WinFroms and WPF platforms.","fork":false,"url":"https://api.github.com/repos/2gis/Winium.Cruciatus","forks_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/forks","keys_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/teams","hooks_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/hooks","issue_events_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/events","assignees_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/tags","blobs_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/languages","stargazers_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/stargazers","contributors_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/contributors","subscribers_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/subscribers","subscription_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/subscription","commits_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/merges","archive_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/downloads","issues_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/labels{/name}","releases_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/releases{/id}","created_at":"2013-11-05T07:58:22Z","updated_at":"2015-08-27T11:22:29Z","pushed_at":"2015-10-08T05:53:16Z","git_url":"git://github.com/2gis/Winium.Cruciatus.git","ssh_url":"git@github.com:2gis/Winium.Cruciatus.git","clone_url":"https://github.com/2gis/Winium.Cruciatus.git","svn_url":"https://github.com/2gis/Winium.Cruciatus","homepage":"","size":2075,"stargazers_count":32,"watchers_count":32,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":32,"default_branch":"master"}},"base":{"label":"2gis:master","ref":"master","sha":"a38dfab982afe278b1f8377b9a68b2274c2fbabb","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":14135437,"name":"Winium.Cruciatus","full_name":"2gis/Winium.Cruciatus","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.Cruciatus","description":"C# Framework for automated testing of Windows application based on WinFroms and WPF platforms.","fork":false,"url":"https://api.github.com/repos/2gis/Winium.Cruciatus","forks_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/forks","keys_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/teams","hooks_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/hooks","issue_events_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/events","assignees_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/tags","blobs_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/languages","stargazers_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/stargazers","contributors_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/contributors","subscribers_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/subscribers","subscription_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/subscription","commits_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/merges","archive_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/downloads","issues_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/labels{/name}","releases_url":"https://api.github.com/repos/2gis/Winium.Cruciatus/releases{/id}","created_at":"2013-11-05T07:58:22Z","updated_at":"2015-08-27T11:22:29Z","pushed_at":"2015-10-08T05:53:16Z","git_url":"git://github.com/2gis/Winium.Cruciatus.git","ssh_url":"git@github.com:2gis/Winium.Cruciatus.git","clone_url":"https://github.com/2gis/Winium.Cruciatus.git","svn_url":"https://github.com/2gis/Winium.Cruciatus","homepage":"","size":2075,"stargazers_count":32,"watchers_count":32,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48"},"html":{"href":"https://github.com/2gis/Winium.Cruciatus/pull/48"},"issue":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/48"},"comments":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/2gis/Winium.Cruciatus/statuses/945f90b6d5c100756be39ad52bd161d4047e03b8"}}}}