{"action":"created","comment":{"url":"https://api.github.com/repos/getgauge/taiko/pulls/comments/365694642","pull_request_review_id":341700935,"id":365694642,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2NTY5NDY0Mg==","diff_hunk":"@@ -0,0 +1,32 @@\n+const CheckBox = require('../elements/checkBox');\n+const ElementWrapper = require('./elementWrapper');\n+class CheckBoxWrapper extends ElementWrapper {\n+  async isChecked() {\n+    const elems = await this.elements();","path":"lib/elementWrapper/checkBoxWrapper.js","position":5,"original_position":5,"commit_id":"ce88512d08906838480513697b2a3d8872d966a4","original_commit_id":"ce88512d08906838480513697b2a3d8872d966a4","user":{"login":"negiDharmendra","id":15261737,"node_id":"MDQ6VXNlcjE1MjYxNzM3","avatar_url":"https://avatars0.githubusercontent.com/u/15261737?v=4","gravatar_id":"","url":"https://api.github.com/users/negiDharmendra","html_url":"https://github.com/negiDharmendra","followers_url":"https://api.github.com/users/negiDharmendra/followers","following_url":"https://api.github.com/users/negiDharmendra/following{/other_user}","gists_url":"https://api.github.com/users/negiDharmendra/gists{/gist_id}","starred_url":"https://api.github.com/users/negiDharmendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negiDharmendra/subscriptions","organizations_url":"https://api.github.com/users/negiDharmendra/orgs","repos_url":"https://api.github.com/users/negiDharmendra/repos","events_url":"https://api.github.com/users/negiDharmendra/events{/privacy}","received_events_url":"https://api.github.com/users/negiDharmendra/received_events","type":"User","site_admin":false},"body":"@sriv this will intoduce `firstElement` API on all the ElementWrappers.\r\nIf this is not what we are looking for, we can extract this peace of code into a helper.","created_at":"2020-01-13T09:00:29Z","updated_at":"2020-01-13T09:00:29Z","html_url":"https://github.com/getgauge/taiko/pull/994#discussion_r365694642","pull_request_url":"https://api.github.com/repos/getgauge/taiko/pulls/994","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/getgauge/taiko/pulls/comments/365694642"},"html":{"href":"https://github.com/getgauge/taiko/pull/994#discussion_r365694642"},"pull_request":{"href":"https://api.github.com/repos/getgauge/taiko/pulls/994"}},"in_reply_to_id":365072725},"pull_request":{"url":"https://api.github.com/repos/getgauge/taiko/pulls/994","id":358916444,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU4OTE2NDQ0","html_url":"https://github.com/getgauge/taiko/pull/994","diff_url":"https://github.com/getgauge/taiko/pull/994.diff","patch_url":"https://github.com/getgauge/taiko/pull/994.patch","issue_url":"https://api.github.com/repos/getgauge/taiko/issues/994","number":994,"state":"open","locked":false,"title":"Refactor element wrapper","user":{"login":"negiDharmendra","id":15261737,"node_id":"MDQ6VXNlcjE1MjYxNzM3","avatar_url":"https://avatars0.githubusercontent.com/u/15261737?v=4","gravatar_id":"","url":"https://api.github.com/users/negiDharmendra","html_url":"https://github.com/negiDharmendra","followers_url":"https://api.github.com/users/negiDharmendra/followers","following_url":"https://api.github.com/users/negiDharmendra/following{/other_user}","gists_url":"https://api.github.com/users/negiDharmendra/gists{/gist_id}","starred_url":"https://api.github.com/users/negiDharmendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negiDharmendra/subscriptions","organizations_url":"https://api.github.com/users/negiDharmendra/orgs","repos_url":"https://api.github.com/users/negiDharmendra/repos","events_url":"https://api.github.com/users/negiDharmendra/events{/privacy}","received_events_url":"https://api.github.com/users/negiDharmendra/received_events","type":"User","site_admin":false},"body":"","created_at":"2020-01-03T08:59:32Z","updated_at":"2020-01-13T09:00:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"416c3ffb9517f4a93c71ecedc93b658fd5f054e3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"BugDiver","id":15309877,"node_id":"MDQ6VXNlcjE1MzA5ODc3","avatar_url":"https://avatars2.githubusercontent.com/u/15309877?v=4","gravatar_id":"","url":"https://api.github.com/users/BugDiver","html_url":"https://github.com/BugDiver","followers_url":"https://api.github.com/users/BugDiver/followers","following_url":"https://api.github.com/users/BugDiver/following{/other_user}","gists_url":"https://api.github.com/users/BugDiver/gists{/gist_id}","starred_url":"https://api.github.com/users/BugDiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugDiver/subscriptions","organizations_url":"https://api.github.com/users/BugDiver/orgs","repos_url":"https://api.github.com/users/BugDiver/repos","events_url":"https://api.github.com/users/BugDiver/events{/privacy}","received_events_url":"https://api.github.com/users/BugDiver/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":992773005,"node_id":"MDU6TGFiZWw5OTI3NzMwMDU=","url":"https://api.github.com/repos/getgauge/taiko/labels/cla-signed","name":"cla-signed","color":"ededed","default":false,"description":null}],"milestone":null,"commits_url":"https://api.github.com/repos/getgauge/taiko/pulls/994/commits","review_comments_url":"https://api.github.com/repos/getgauge/taiko/pulls/994/comments","review_comment_url":"https://api.github.com/repos/getgauge/taiko/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getgauge/taiko/issues/994/comments","statuses_url":"https://api.github.com/repos/getgauge/taiko/statuses/ce88512d08906838480513697b2a3d8872d966a4","head":{"label":"getgauge:refactor-element-wrapper","ref":"refactor-element-wrapper","sha":"ce88512d08906838480513697b2a3d8872d966a4","user":{"login":"getgauge","id":7044589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwNDQ1ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"repo":{"id":108502821,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg1MDI4MjE=","name":"taiko","full_name":"getgauge/taiko","private":false,"owner":{"login":"getgauge","id":7044589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwNDQ1ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/getgauge/taiko","description":"A node.js library to automate chrome/chromium browser","fork":false,"url":"https://api.github.com/repos/getgauge/taiko","forks_url":"https://api.github.com/repos/getgauge/taiko/forks","keys_url":"https://api.github.com/repos/getgauge/taiko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getgauge/taiko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getgauge/taiko/teams","hooks_url":"https://api.github.com/repos/getgauge/taiko/hooks","issue_events_url":"https://api.github.com/repos/getgauge/taiko/issues/events{/number}","events_url":"https://api.github.com/repos/getgauge/taiko/events","assignees_url":"https://api.github.com/repos/getgauge/taiko/assignees{/user}","branches_url":"https://api.github.com/repos/getgauge/taiko/branches{/branch}","tags_url":"https://api.github.com/repos/getgauge/taiko/tags","blobs_url":"https://api.github.com/repos/getgauge/taiko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getgauge/taiko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getgauge/taiko/git/refs{/sha}","trees_url":"https://api.github.com/repos/getgauge/taiko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getgauge/taiko/statuses/{sha}","languages_url":"https://api.github.com/repos/getgauge/taiko/languages","stargazers_url":"https://api.github.com/repos/getgauge/taiko/stargazers","contributors_url":"https://api.github.com/repos/getgauge/taiko/contributors","subscribers_url":"https://api.github.com/repos/getgauge/taiko/subscribers","subscription_url":"https://api.github.com/repos/getgauge/taiko/subscription","commits_url":"https://api.github.com/repos/getgauge/taiko/commits{/sha}","git_commits_url":"https://api.github.com/repos/getgauge/taiko/git/commits{/sha}","comments_url":"https://api.github.com/repos/getgauge/taiko/comments{/number}","issue_comment_url":"https://api.github.com/repos/getgauge/taiko/issues/comments{/number}","contents_url":"https://api.github.com/repos/getgauge/taiko/contents/{+path}","compare_url":"https://api.github.com/repos/getgauge/taiko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getgauge/taiko/merges","archive_url":"https://api.github.com/repos/getgauge/taiko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getgauge/taiko/downloads","issues_url":"https://api.github.com/repos/getgauge/taiko/issues{/number}","pulls_url":"https://api.github.com/repos/getgauge/taiko/pulls{/number}","milestones_url":"https://api.github.com/repos/getgauge/taiko/milestones{/number}","notifications_url":"https://api.github.com/repos/getgauge/taiko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getgauge/taiko/labels{/name}","releases_url":"https://api.github.com/repos/getgauge/taiko/releases{/id}","deployments_url":"https://api.github.com/repos/getgauge/taiko/deployments","created_at":"2017-10-27T05:25:27Z","updated_at":"2020-01-13T01:18:52Z","pushed_at":"2020-01-13T06:02:18Z","git_url":"git://github.com/getgauge/taiko.git","ssh_url":"git@github.com:getgauge/taiko.git","clone_url":"https://github.com/getgauge/taiko.git","svn_url":"https://github.com/getgauge/taiko","homepage":"https://taiko.gauge.org","size":11664,"stargazers_count":1750,"watchers_count":1750,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":130,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":130,"open_issues":96,"watchers":1750,"default_branch":"master"}},"base":{"label":"getgauge:master","ref":"master","sha":"0162209ace9f8ed99bc25620bca8a8f7e386cbb4","user":{"login":"getgauge","id":7044589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwNDQ1ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"repo":{"id":108502821,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg1MDI4MjE=","name":"taiko","full_name":"getgauge/taiko","private":false,"owner":{"login":"getgauge","id":7044589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwNDQ1ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/getgauge/taiko","description":"A node.js library to automate chrome/chromium browser","fork":false,"url":"https://api.github.com/repos/getgauge/taiko","forks_url":"https://api.github.com/repos/getgauge/taiko/forks","keys_url":"https://api.github.com/repos/getgauge/taiko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getgauge/taiko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getgauge/taiko/teams","hooks_url":"https://api.github.com/repos/getgauge/taiko/hooks","issue_events_url":"https://api.github.com/repos/getgauge/taiko/issues/events{/number}","events_url":"https://api.github.com/repos/getgauge/taiko/events","assignees_url":"https://api.github.com/repos/getgauge/taiko/assignees{/user}","branches_url":"https://api.github.com/repos/getgauge/taiko/branches{/branch}","tags_url":"https://api.github.com/repos/getgauge/taiko/tags","blobs_url":"https://api.github.com/repos/getgauge/taiko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getgauge/taiko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getgauge/taiko/git/refs{/sha}","trees_url":"https://api.github.com/repos/getgauge/taiko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getgauge/taiko/statuses/{sha}","languages_url":"https://api.github.com/repos/getgauge/taiko/languages","stargazers_url":"https://api.github.com/repos/getgauge/taiko/stargazers","contributors_url":"https://api.github.com/repos/getgauge/taiko/contributors","subscribers_url":"https://api.github.com/repos/getgauge/taiko/subscribers","subscription_url":"https://api.github.com/repos/getgauge/taiko/subscription","commits_url":"https://api.github.com/repos/getgauge/taiko/commits{/sha}","git_commits_url":"https://api.github.com/repos/getgauge/taiko/git/commits{/sha}","comments_url":"https://api.github.com/repos/getgauge/taiko/comments{/number}","issue_comment_url":"https://api.github.com/repos/getgauge/taiko/issues/comments{/number}","contents_url":"https://api.github.com/repos/getgauge/taiko/contents/{+path}","compare_url":"https://api.github.com/repos/getgauge/taiko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getgauge/taiko/merges","archive_url":"https://api.github.com/repos/getgauge/taiko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getgauge/taiko/downloads","issues_url":"https://api.github.com/repos/getgauge/taiko/issues{/number}","pulls_url":"https://api.github.com/repos/getgauge/taiko/pulls{/number}","milestones_url":"https://api.github.com/repos/getgauge/taiko/milestones{/number}","notifications_url":"https://api.github.com/repos/getgauge/taiko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getgauge/taiko/labels{/name}","releases_url":"https://api.github.com/repos/getgauge/taiko/releases{/id}","deployments_url":"https://api.github.com/repos/getgauge/taiko/deployments","created_at":"2017-10-27T05:25:27Z","updated_at":"2020-01-13T01:18:52Z","pushed_at":"2020-01-13T06:02:18Z","git_url":"git://github.com/getgauge/taiko.git","ssh_url":"git@github.com:getgauge/taiko.git","clone_url":"https://github.com/getgauge/taiko.git","svn_url":"https://github.com/getgauge/taiko","homepage":"https://taiko.gauge.org","size":11664,"stargazers_count":1750,"watchers_count":1750,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":130,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":130,"open_issues":96,"watchers":1750,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getgauge/taiko/pulls/994"},"html":{"href":"https://github.com/getgauge/taiko/pull/994"},"issue":{"href":"https://api.github.com/repos/getgauge/taiko/issues/994"},"comments":{"href":"https://api.github.com/repos/getgauge/taiko/issues/994/comments"},"review_comments":{"href":"https://api.github.com/repos/getgauge/taiko/pulls/994/comments"},"review_comment":{"href":"https://api.github.com/repos/getgauge/taiko/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getgauge/taiko/pulls/994/commits"},"statuses":{"href":"https://api.github.com/repos/getgauge/taiko/statuses/ce88512d08906838480513697b2a3d8872d966a4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"negiDharmendra"}}