{"action":"created","comment":{"url":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/comments/45941807","id":45941807,"diff_hunk":"@@ -0,0 +1,101 @@\n+package com.symbio.test.SeleniumPractice1.PageObj;\n+\n+import java.util.LinkedList;\n+import java.util.List;\n+import java.util.Set;\n+\n+import org.openqa.selenium.WebDriver;\n+import org.openqa.selenium.WebElement;\n+import org.openqa.selenium.support.ui.ExpectedCondition;\n+import org.openqa.selenium.support.ui.WebDriverWait;\n+\n+\n+\n+public class Common {\n+\t\n+ private static Common common;\n+ private WebDriver driver;\n+ private LinkedList<String> list;\n+ private int handles;\n+ private WebDriverWait wait;\n+\n+ private Common(WebDriver driver){\n+  this.driver = driver;\n+  list = new LinkedList<String>();\n+  handles = 1;\n+  list.add(driver.getWindowHandle());\n+//  System.out.println(driver.getWindowHandle());\n+  wait = new WebDriverWait(this.driver,100);\n+  \n+ }\n+ ","path":"src/main/java/com/symbio/test/SeleniumPractice1/PageObj/Common.java","position":31,"original_position":31,"commit_id":"d8890a7e8620bdf5723a9547c0e6a029a8b774b4","original_commit_id":"d8890a7e8620bdf5723a9547c0e6a029a8b774b4","user":{"login":"stephen1807","id":12554584,"avatar_url":"https://avatars.githubusercontent.com/u/12554584?v=3","gravatar_id":"","url":"https://api.github.com/users/stephen1807","html_url":"https://github.com/stephen1807","followers_url":"https://api.github.com/users/stephen1807/followers","following_url":"https://api.github.com/users/stephen1807/following{/other_user}","gists_url":"https://api.github.com/users/stephen1807/gists{/gist_id}","starred_url":"https://api.github.com/users/stephen1807/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephen1807/subscriptions","organizations_url":"https://api.github.com/users/stephen1807/orgs","repos_url":"https://api.github.com/users/stephen1807/repos","events_url":"https://api.github.com/users/stephen1807/events{/privacy}","received_events_url":"https://api.github.com/users/stephen1807/received_events","type":"User","site_admin":false},"body":"Comment","created_at":"2015-11-26T03:34:37Z","updated_at":"2015-11-26T03:34:37Z","html_url":"https://github.com/mengchen2/hateTeamWork/pull/13#discussion_r45941807","pull_request_url":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/comments/45941807"},"html":{"href":"https://github.com/mengchen2/hateTeamWork/pull/13#discussion_r45941807"},"pull_request":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13","id":51868827,"html_url":"https://github.com/mengchen2/hateTeamWork/pull/13","diff_url":"https://github.com/mengchen2/hateTeamWork/pull/13.diff","patch_url":"https://github.com/mengchen2/hateTeamWork/pull/13.patch","issue_url":"https://api.github.com/repos/mengchen2/hateTeamWork/issues/13","number":13,"state":"open","locked":false,"title":"change quantity of the items in cart.","user":{"login":"SmileHelen","id":15768454,"avatar_url":"https://avatars.githubusercontent.com/u/15768454?v=3","gravatar_id":"","url":"https://api.github.com/users/SmileHelen","html_url":"https://github.com/SmileHelen","followers_url":"https://api.github.com/users/SmileHelen/followers","following_url":"https://api.github.com/users/SmileHelen/following{/other_user}","gists_url":"https://api.github.com/users/SmileHelen/gists{/gist_id}","starred_url":"https://api.github.com/users/SmileHelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmileHelen/subscriptions","organizations_url":"https://api.github.com/users/SmileHelen/orgs","repos_url":"https://api.github.com/users/SmileHelen/repos","events_url":"https://api.github.com/users/SmileHelen/events{/privacy}","received_events_url":"https://api.github.com/users/SmileHelen/received_events","type":"User","site_admin":false},"body":"Launch jd supermark, add items to cart , then change the quantity of the items in cart.","created_at":"2015-11-26T03:18:03Z","updated_at":"2015-11-26T03:34:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f24f0d8fa6530aaecc419622a81d2db395a2fc34","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13/commits","review_comments_url":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13/comments","review_comment_url":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mengchen2/hateTeamWork/issues/13/comments","statuses_url":"https://api.github.com/repos/mengchen2/hateTeamWork/statuses/d8890a7e8620bdf5723a9547c0e6a029a8b774b4","head":{"label":"SmileHelen:master","ref":"master","sha":"d8890a7e8620bdf5723a9547c0e6a029a8b774b4","user":{"login":"SmileHelen","id":15768454,"avatar_url":"https://avatars.githubusercontent.com/u/15768454?v=3","gravatar_id":"","url":"https://api.github.com/users/SmileHelen","html_url":"https://github.com/SmileHelen","followers_url":"https://api.github.com/users/SmileHelen/followers","following_url":"https://api.github.com/users/SmileHelen/following{/other_user}","gists_url":"https://api.github.com/users/SmileHelen/gists{/gist_id}","starred_url":"https://api.github.com/users/SmileHelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmileHelen/subscriptions","organizations_url":"https://api.github.com/users/SmileHelen/orgs","repos_url":"https://api.github.com/users/SmileHelen/repos","events_url":"https://api.github.com/users/SmileHelen/events{/privacy}","received_events_url":"https://api.github.com/users/SmileHelen/received_events","type":"User","site_admin":false},"repo":{"id":46761045,"name":"hateTeamWork","full_name":"SmileHelen/hateTeamWork","owner":{"login":"SmileHelen","id":15768454,"avatar_url":"https://avatars.githubusercontent.com/u/15768454?v=3","gravatar_id":"","url":"https://api.github.com/users/SmileHelen","html_url":"https://github.com/SmileHelen","followers_url":"https://api.github.com/users/SmileHelen/followers","following_url":"https://api.github.com/users/SmileHelen/following{/other_user}","gists_url":"https://api.github.com/users/SmileHelen/gists{/gist_id}","starred_url":"https://api.github.com/users/SmileHelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmileHelen/subscriptions","organizations_url":"https://api.github.com/users/SmileHelen/orgs","repos_url":"https://api.github.com/users/SmileHelen/repos","events_url":"https://api.github.com/users/SmileHelen/events{/privacy}","received_events_url":"https://api.github.com/users/SmileHelen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SmileHelen/hateTeamWork","description":"","fork":true,"url":"https://api.github.com/repos/SmileHelen/hateTeamWork","forks_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/forks","keys_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/teams","hooks_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/hooks","issue_events_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/issues/events{/number}","events_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/events","assignees_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/assignees{/user}","branches_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/branches{/branch}","tags_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/tags","blobs_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/git/refs{/sha}","trees_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/statuses/{sha}","languages_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/languages","stargazers_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/stargazers","contributors_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/contributors","subscribers_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/subscribers","subscription_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/subscription","commits_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/commits{/sha}","git_commits_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/git/commits{/sha}","comments_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/comments{/number}","issue_comment_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/issues/comments{/number}","contents_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/contents/{+path}","compare_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/merges","archive_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/downloads","issues_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/issues{/number}","pulls_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/pulls{/number}","milestones_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/milestones{/number}","notifications_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/labels{/name}","releases_url":"https://api.github.com/repos/SmileHelen/hateTeamWork/releases{/id}","created_at":"2015-11-24T02:13:44Z","updated_at":"2015-11-24T02:13:45Z","pushed_at":"2015-11-26T03:15:51Z","git_url":"git://github.com/SmileHelen/hateTeamWork.git","ssh_url":"git@github.com:SmileHelen/hateTeamWork.git","clone_url":"https://github.com/SmileHelen/hateTeamWork.git","svn_url":"https://github.com/SmileHelen/hateTeamWork","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"mengchen2:master","ref":"master","sha":"acefaeb415f6b0708562e5439948b8e3b80f4dd4","user":{"login":"mengchen2","id":8892179,"avatar_url":"https://avatars.githubusercontent.com/u/8892179?v=3","gravatar_id":"","url":"https://api.github.com/users/mengchen2","html_url":"https://github.com/mengchen2","followers_url":"https://api.github.com/users/mengchen2/followers","following_url":"https://api.github.com/users/mengchen2/following{/other_user}","gists_url":"https://api.github.com/users/mengchen2/gists{/gist_id}","starred_url":"https://api.github.com/users/mengchen2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengchen2/subscriptions","organizations_url":"https://api.github.com/users/mengchen2/orgs","repos_url":"https://api.github.com/users/mengchen2/repos","events_url":"https://api.github.com/users/mengchen2/events{/privacy}","received_events_url":"https://api.github.com/users/mengchen2/received_events","type":"User","site_admin":false},"repo":{"id":46726519,"name":"hateTeamWork","full_name":"mengchen2/hateTeamWork","owner":{"login":"mengchen2","id":8892179,"avatar_url":"https://avatars.githubusercontent.com/u/8892179?v=3","gravatar_id":"","url":"https://api.github.com/users/mengchen2","html_url":"https://github.com/mengchen2","followers_url":"https://api.github.com/users/mengchen2/followers","following_url":"https://api.github.com/users/mengchen2/following{/other_user}","gists_url":"https://api.github.com/users/mengchen2/gists{/gist_id}","starred_url":"https://api.github.com/users/mengchen2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengchen2/subscriptions","organizations_url":"https://api.github.com/users/mengchen2/orgs","repos_url":"https://api.github.com/users/mengchen2/repos","events_url":"https://api.github.com/users/mengchen2/events{/privacy}","received_events_url":"https://api.github.com/users/mengchen2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mengchen2/hateTeamWork","description":"","fork":false,"url":"https://api.github.com/repos/mengchen2/hateTeamWork","forks_url":"https://api.github.com/repos/mengchen2/hateTeamWork/forks","keys_url":"https://api.github.com/repos/mengchen2/hateTeamWork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mengchen2/hateTeamWork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mengchen2/hateTeamWork/teams","hooks_url":"https://api.github.com/repos/mengchen2/hateTeamWork/hooks","issue_events_url":"https://api.github.com/repos/mengchen2/hateTeamWork/issues/events{/number}","events_url":"https://api.github.com/repos/mengchen2/hateTeamWork/events","assignees_url":"https://api.github.com/repos/mengchen2/hateTeamWork/assignees{/user}","branches_url":"https://api.github.com/repos/mengchen2/hateTeamWork/branches{/branch}","tags_url":"https://api.github.com/repos/mengchen2/hateTeamWork/tags","blobs_url":"https://api.github.com/repos/mengchen2/hateTeamWork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mengchen2/hateTeamWork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mengchen2/hateTeamWork/git/refs{/sha}","trees_url":"https://api.github.com/repos/mengchen2/hateTeamWork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mengchen2/hateTeamWork/statuses/{sha}","languages_url":"https://api.github.com/repos/mengchen2/hateTeamWork/languages","stargazers_url":"https://api.github.com/repos/mengchen2/hateTeamWork/stargazers","contributors_url":"https://api.github.com/repos/mengchen2/hateTeamWork/contributors","subscribers_url":"https://api.github.com/repos/mengchen2/hateTeamWork/subscribers","subscription_url":"https://api.github.com/repos/mengchen2/hateTeamWork/subscription","commits_url":"https://api.github.com/repos/mengchen2/hateTeamWork/commits{/sha}","git_commits_url":"https://api.github.com/repos/mengchen2/hateTeamWork/git/commits{/sha}","comments_url":"https://api.github.com/repos/mengchen2/hateTeamWork/comments{/number}","issue_comment_url":"https://api.github.com/repos/mengchen2/hateTeamWork/issues/comments{/number}","contents_url":"https://api.github.com/repos/mengchen2/hateTeamWork/contents/{+path}","compare_url":"https://api.github.com/repos/mengchen2/hateTeamWork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mengchen2/hateTeamWork/merges","archive_url":"https://api.github.com/repos/mengchen2/hateTeamWork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mengchen2/hateTeamWork/downloads","issues_url":"https://api.github.com/repos/mengchen2/hateTeamWork/issues{/number}","pulls_url":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls{/number}","milestones_url":"https://api.github.com/repos/mengchen2/hateTeamWork/milestones{/number}","notifications_url":"https://api.github.com/repos/mengchen2/hateTeamWork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mengchen2/hateTeamWork/labels{/name}","releases_url":"https://api.github.com/repos/mengchen2/hateTeamWork/releases{/id}","created_at":"2015-11-23T14:42:23Z","updated_at":"2015-11-23T14:46:13Z","pushed_at":"2015-11-26T03:28:22Z","git_url":"git://github.com/mengchen2/hateTeamWork.git","ssh_url":"git@github.com:mengchen2/hateTeamWork.git","clone_url":"https://github.com/mengchen2/hateTeamWork.git","svn_url":"https://github.com/mengchen2/hateTeamWork","homepage":null,"size":76,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":7,"forks":7,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13"},"html":{"href":"https://github.com/mengchen2/hateTeamWork/pull/13"},"issue":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/issues/13"},"comments":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/mengchen2/hateTeamWork/statuses/d8890a7e8620bdf5723a9547c0e6a029a8b774b4"}}}}