{"action":"created","comment":{"url":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/comments/38871432","id":38871432,"diff_hunk":"@@ -84,6 +85,20 @@ public void setName(String name) {\n     }\n \n     /**\n+     * Determines whether or not this element exists on page.\n+     *\n+     * @return True if the element exists on page, false otherwise.\n+     */\n+    public boolean exists() {\n+        try {\n+            getWrappedElement().isDisplayed();\n+            return true;","path":"htmlelements-java/src/main/java/ru/yandex/qatools/htmlelements/element/HtmlElement.java","position":22,"original_position":19,"commit_id":"d5f7887fa4c6ff09120b9ddb587cd5196cf6084c","original_commit_id":"d70e891fab73be8038fb612bfc790d628d7329f8","user":{"login":"alkedr","id":2046080,"avatar_url":"https://avatars.githubusercontent.com/u/2046080?v=3","gravatar_id":"","url":"https://api.github.com/users/alkedr","html_url":"https://github.com/alkedr","followers_url":"https://api.github.com/users/alkedr/followers","following_url":"https://api.github.com/users/alkedr/following{/other_user}","gists_url":"https://api.github.com/users/alkedr/gists{/gist_id}","starred_url":"https://api.github.com/users/alkedr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkedr/subscriptions","organizations_url":"https://api.github.com/users/alkedr/orgs","repos_url":"https://api.github.com/users/alkedr/repos","events_url":"https://api.github.com/users/alkedr/events{/privacy}","received_events_url":"https://api.github.com/users/alkedr/received_events","type":"User","site_admin":false},"body":"Why?","created_at":"2015-09-07T16:01:46Z","updated_at":"2015-09-07T16:01:46Z","html_url":"https://github.com/yandex-qatools/htmlelements/pull/91#discussion_r38871432","pull_request_url":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/comments/38871432"},"html":{"href":"https://github.com/yandex-qatools/htmlelements/pull/91#discussion_r38871432"},"pull_request":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91","id":44367159,"html_url":"https://github.com/yandex-qatools/htmlelements/pull/91","diff_url":"https://github.com/yandex-qatools/htmlelements/pull/91.diff","patch_url":"https://github.com/yandex-qatools/htmlelements/pull/91.patch","issue_url":"https://api.github.com/repos/yandex-qatools/htmlelements/issues/91","number":91,"state":"open","locked":false,"title":"add TypifiedElement.exists and HtmlElement.exists","user":{"login":"alkedr","id":2046080,"avatar_url":"https://avatars.githubusercontent.com/u/2046080?v=3","gravatar_id":"","url":"https://api.github.com/users/alkedr","html_url":"https://github.com/alkedr","followers_url":"https://api.github.com/users/alkedr/followers","following_url":"https://api.github.com/users/alkedr/following{/other_user}","gists_url":"https://api.github.com/users/alkedr/gists{/gist_id}","starred_url":"https://api.github.com/users/alkedr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkedr/subscriptions","organizations_url":"https://api.github.com/users/alkedr/orgs","repos_url":"https://api.github.com/users/alkedr/repos","events_url":"https://api.github.com/users/alkedr/events{/privacy}","received_events_url":"https://api.github.com/users/alkedr/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-07T15:49:41Z","updated_at":"2015-09-07T16:01:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b33a5184684ff5e2590a19417080cea0aad50b13","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91/commits","review_comments_url":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91/comments","review_comment_url":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yandex-qatools/htmlelements/issues/91/comments","statuses_url":"https://api.github.com/repos/yandex-qatools/htmlelements/statuses/d5f7887fa4c6ff09120b9ddb587cd5196cf6084c","head":{"label":"alkedr:exists","ref":"exists","sha":"d5f7887fa4c6ff09120b9ddb587cd5196cf6084c","user":{"login":"alkedr","id":2046080,"avatar_url":"https://avatars.githubusercontent.com/u/2046080?v=3","gravatar_id":"","url":"https://api.github.com/users/alkedr","html_url":"https://github.com/alkedr","followers_url":"https://api.github.com/users/alkedr/followers","following_url":"https://api.github.com/users/alkedr/following{/other_user}","gists_url":"https://api.github.com/users/alkedr/gists{/gist_id}","starred_url":"https://api.github.com/users/alkedr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkedr/subscriptions","organizations_url":"https://api.github.com/users/alkedr/orgs","repos_url":"https://api.github.com/users/alkedr/repos","events_url":"https://api.github.com/users/alkedr/events{/privacy}","received_events_url":"https://api.github.com/users/alkedr/received_events","type":"User","site_admin":false},"repo":{"id":42060221,"name":"htmlelements","full_name":"alkedr/htmlelements","owner":{"login":"alkedr","id":2046080,"avatar_url":"https://avatars.githubusercontent.com/u/2046080?v=3","gravatar_id":"","url":"https://api.github.com/users/alkedr","html_url":"https://github.com/alkedr","followers_url":"https://api.github.com/users/alkedr/followers","following_url":"https://api.github.com/users/alkedr/following{/other_user}","gists_url":"https://api.github.com/users/alkedr/gists{/gist_id}","starred_url":"https://api.github.com/users/alkedr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkedr/subscriptions","organizations_url":"https://api.github.com/users/alkedr/orgs","repos_url":"https://api.github.com/users/alkedr/repos","events_url":"https://api.github.com/users/alkedr/events{/privacy}","received_events_url":"https://api.github.com/users/alkedr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alkedr/htmlelements","description":"Html Elements is a Java framework providing easy-to-use way of interaction with web-page elements in web-page tests.","fork":true,"url":"https://api.github.com/repos/alkedr/htmlelements","forks_url":"https://api.github.com/repos/alkedr/htmlelements/forks","keys_url":"https://api.github.com/repos/alkedr/htmlelements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alkedr/htmlelements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alkedr/htmlelements/teams","hooks_url":"https://api.github.com/repos/alkedr/htmlelements/hooks","issue_events_url":"https://api.github.com/repos/alkedr/htmlelements/issues/events{/number}","events_url":"https://api.github.com/repos/alkedr/htmlelements/events","assignees_url":"https://api.github.com/repos/alkedr/htmlelements/assignees{/user}","branches_url":"https://api.github.com/repos/alkedr/htmlelements/branches{/branch}","tags_url":"https://api.github.com/repos/alkedr/htmlelements/tags","blobs_url":"https://api.github.com/repos/alkedr/htmlelements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alkedr/htmlelements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alkedr/htmlelements/git/refs{/sha}","trees_url":"https://api.github.com/repos/alkedr/htmlelements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alkedr/htmlelements/statuses/{sha}","languages_url":"https://api.github.com/repos/alkedr/htmlelements/languages","stargazers_url":"https://api.github.com/repos/alkedr/htmlelements/stargazers","contributors_url":"https://api.github.com/repos/alkedr/htmlelements/contributors","subscribers_url":"https://api.github.com/repos/alkedr/htmlelements/subscribers","subscription_url":"https://api.github.com/repos/alkedr/htmlelements/subscription","commits_url":"https://api.github.com/repos/alkedr/htmlelements/commits{/sha}","git_commits_url":"https://api.github.com/repos/alkedr/htmlelements/git/commits{/sha}","comments_url":"https://api.github.com/repos/alkedr/htmlelements/comments{/number}","issue_comment_url":"https://api.github.com/repos/alkedr/htmlelements/issues/comments{/number}","contents_url":"https://api.github.com/repos/alkedr/htmlelements/contents/{+path}","compare_url":"https://api.github.com/repos/alkedr/htmlelements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alkedr/htmlelements/merges","archive_url":"https://api.github.com/repos/alkedr/htmlelements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alkedr/htmlelements/downloads","issues_url":"https://api.github.com/repos/alkedr/htmlelements/issues{/number}","pulls_url":"https://api.github.com/repos/alkedr/htmlelements/pulls{/number}","milestones_url":"https://api.github.com/repos/alkedr/htmlelements/milestones{/number}","notifications_url":"https://api.github.com/repos/alkedr/htmlelements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alkedr/htmlelements/labels{/name}","releases_url":"https://api.github.com/repos/alkedr/htmlelements/releases{/id}","created_at":"2015-09-07T15:22:30Z","updated_at":"2015-09-07T15:22:30Z","pushed_at":"2015-09-07T15:56:06Z","git_url":"git://github.com/alkedr/htmlelements.git","ssh_url":"git@github.com:alkedr/htmlelements.git","clone_url":"https://github.com/alkedr/htmlelements.git","svn_url":"https://github.com/alkedr/htmlelements","homepage":"http://htmlelements.qatools.ru","size":1872,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yandex-qatools:master","ref":"master","sha":"fc3fad75bf5e013de96ee84c00622c396677a321","user":{"login":"yandex-qatools","id":2365075,"avatar_url":"https://avatars.githubusercontent.com/u/2365075?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex-qatools","html_url":"https://github.com/yandex-qatools","followers_url":"https://api.github.com/users/yandex-qatools/followers","following_url":"https://api.github.com/users/yandex-qatools/following{/other_user}","gists_url":"https://api.github.com/users/yandex-qatools/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex-qatools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex-qatools/subscriptions","organizations_url":"https://api.github.com/users/yandex-qatools/orgs","repos_url":"https://api.github.com/users/yandex-qatools/repos","events_url":"https://api.github.com/users/yandex-qatools/events{/privacy}","received_events_url":"https://api.github.com/users/yandex-qatools/received_events","type":"Organization","site_admin":false},"repo":{"id":5963893,"name":"htmlelements","full_name":"yandex-qatools/htmlelements","owner":{"login":"yandex-qatools","id":2365075,"avatar_url":"https://avatars.githubusercontent.com/u/2365075?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex-qatools","html_url":"https://github.com/yandex-qatools","followers_url":"https://api.github.com/users/yandex-qatools/followers","following_url":"https://api.github.com/users/yandex-qatools/following{/other_user}","gists_url":"https://api.github.com/users/yandex-qatools/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex-qatools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex-qatools/subscriptions","organizations_url":"https://api.github.com/users/yandex-qatools/orgs","repos_url":"https://api.github.com/users/yandex-qatools/repos","events_url":"https://api.github.com/users/yandex-qatools/events{/privacy}","received_events_url":"https://api.github.com/users/yandex-qatools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yandex-qatools/htmlelements","description":"Html Elements is a Java framework providing easy-to-use way of interaction with web-page elements in web-page tests.","fork":false,"url":"https://api.github.com/repos/yandex-qatools/htmlelements","forks_url":"https://api.github.com/repos/yandex-qatools/htmlelements/forks","keys_url":"https://api.github.com/repos/yandex-qatools/htmlelements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yandex-qatools/htmlelements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yandex-qatools/htmlelements/teams","hooks_url":"https://api.github.com/repos/yandex-qatools/htmlelements/hooks","issue_events_url":"https://api.github.com/repos/yandex-qatools/htmlelements/issues/events{/number}","events_url":"https://api.github.com/repos/yandex-qatools/htmlelements/events","assignees_url":"https://api.github.com/repos/yandex-qatools/htmlelements/assignees{/user}","branches_url":"https://api.github.com/repos/yandex-qatools/htmlelements/branches{/branch}","tags_url":"https://api.github.com/repos/yandex-qatools/htmlelements/tags","blobs_url":"https://api.github.com/repos/yandex-qatools/htmlelements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yandex-qatools/htmlelements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yandex-qatools/htmlelements/git/refs{/sha}","trees_url":"https://api.github.com/repos/yandex-qatools/htmlelements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yandex-qatools/htmlelements/statuses/{sha}","languages_url":"https://api.github.com/repos/yandex-qatools/htmlelements/languages","stargazers_url":"https://api.github.com/repos/yandex-qatools/htmlelements/stargazers","contributors_url":"https://api.github.com/repos/yandex-qatools/htmlelements/contributors","subscribers_url":"https://api.github.com/repos/yandex-qatools/htmlelements/subscribers","subscription_url":"https://api.github.com/repos/yandex-qatools/htmlelements/subscription","commits_url":"https://api.github.com/repos/yandex-qatools/htmlelements/commits{/sha}","git_commits_url":"https://api.github.com/repos/yandex-qatools/htmlelements/git/commits{/sha}","comments_url":"https://api.github.com/repos/yandex-qatools/htmlelements/comments{/number}","issue_comment_url":"https://api.github.com/repos/yandex-qatools/htmlelements/issues/comments{/number}","contents_url":"https://api.github.com/repos/yandex-qatools/htmlelements/contents/{+path}","compare_url":"https://api.github.com/repos/yandex-qatools/htmlelements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yandex-qatools/htmlelements/merges","archive_url":"https://api.github.com/repos/yandex-qatools/htmlelements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yandex-qatools/htmlelements/downloads","issues_url":"https://api.github.com/repos/yandex-qatools/htmlelements/issues{/number}","pulls_url":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls{/number}","milestones_url":"https://api.github.com/repos/yandex-qatools/htmlelements/milestones{/number}","notifications_url":"https://api.github.com/repos/yandex-qatools/htmlelements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yandex-qatools/htmlelements/labels{/name}","releases_url":"https://api.github.com/repos/yandex-qatools/htmlelements/releases{/id}","created_at":"2012-09-26T09:56:23Z","updated_at":"2015-08-31T14:35:19Z","pushed_at":"2015-09-07T15:56:07Z","git_url":"git://github.com/yandex-qatools/htmlelements.git","ssh_url":"git@github.com:yandex-qatools/htmlelements.git","clone_url":"https://github.com/yandex-qatools/htmlelements.git","svn_url":"https://github.com/yandex-qatools/htmlelements","homepage":"http://htmlelements.qatools.ru","size":1872,"stargazers_count":117,"watchers_count":117,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":58,"mirror_url":null,"open_issues_count":18,"forks":58,"open_issues":18,"watchers":117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91"},"html":{"href":"https://github.com/yandex-qatools/htmlelements/pull/91"},"issue":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/issues/91"},"comments":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/yandex-qatools/htmlelements/statuses/d5f7887fa4c6ff09120b9ddb587cd5196cf6084c"}}}}