{"action":"created","comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/comments/26397664","id":26397664,"diff_hunk":"@@ -0,0 +1,79 @@\n+﻿/*\n+Copyright 2007-2015 Selenium committers","path":"dotnet/src/support/PageObjects/ByAll.cs","position":2,"original_position":2,"commit_id":"adae692778e37f80c4b3683fcb76b4124406dddf","original_commit_id":"adae692778e37f80c4b3683fcb76b4124406dddf","user":{"login":"FrankyBoy","id":265792,"avatar_url":"https://avatars.githubusercontent.com/u/265792?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankyBoy","html_url":"https://github.com/FrankyBoy","followers_url":"https://api.github.com/users/FrankyBoy/followers","following_url":"https://api.github.com/users/FrankyBoy/following{/other_user}","gists_url":"https://api.github.com/users/FrankyBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankyBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankyBoy/subscriptions","organizations_url":"https://api.github.com/users/FrankyBoy/orgs","repos_url":"https://api.github.com/users/FrankyBoy/repos","events_url":"https://api.github.com/users/FrankyBoy/events{/privacy}","received_events_url":"https://api.github.com/users/FrankyBoy/received_events","type":"User","site_admin":false},"body":"@ddavison said I should put in that exact text, but whatever suits you best.\r\nSo it should be \"Copyright 2015 Software Freedom Convervancy\", right?\r\n(oh the woes of putting a copyright notice in every file ;))","created_at":"2015-03-13T15:59:23Z","updated_at":"2015-03-13T15:59:23Z","html_url":"https://github.com/SeleniumHQ/selenium/pull/331#discussion_r26397664","pull_request_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331","_links":{"self":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/comments/26397664"},"html":{"href":"https://github.com/SeleniumHQ/selenium/pull/331#discussion_r26397664"},"pull_request":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331"}}},"pull_request":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331","id":31110941,"html_url":"https://github.com/SeleniumHQ/selenium/pull/331","diff_url":"https://github.com/SeleniumHQ/selenium/pull/331.diff","patch_url":"https://github.com/SeleniumHQ/selenium/pull/331.patch","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/331","number":331,"state":"open","locked":false,"title":"Two new locators: ByAll and ByAny","user":{"login":"FrankyBoy","id":265792,"avatar_url":"https://avatars.githubusercontent.com/u/265792?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankyBoy","html_url":"https://github.com/FrankyBoy","followers_url":"https://api.github.com/users/FrankyBoy/followers","following_url":"https://api.github.com/users/FrankyBoy/following{/other_user}","gists_url":"https://api.github.com/users/FrankyBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankyBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankyBoy/subscriptions","organizations_url":"https://api.github.com/users/FrankyBoy/orgs","repos_url":"https://api.github.com/users/FrankyBoy/repos","events_url":"https://api.github.com/users/FrankyBoy/events{/privacy}","received_events_url":"https://api.github.com/users/FrankyBoy/received_events","type":"User","site_admin":false},"body":"add two new locators, ByAll and ByAny.\r\nByAny -> select an element that matches _any_ of the input criteria (i.e. what ByAll does in Java selenium who got their names backwards)\r\nByAll -> select an element that matches _all_ of the input criteria\r\n\r\nThe distinction to ByChained is that ByChained selects child elements while ByAll/ByAny select on the same element.\r\n\r\nDetailed use case: we use custom selectors (provided by protractor.net) which allow to filter based on angular-specific aspects (by model, binding, ...), which is the prefered way of locating elements. However, we have some bindings which are used multiple times, so \"by model\" does not give unique results. Being able to say \"by model and also has to be a div\" would greatly help in those cases.","created_at":"2015-03-13T09:33:13Z","updated_at":"2015-03-13T15:59:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c27792da26a984f99278c1a7883ab85d363f66a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331/commits","review_comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331/comments","review_comment_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/331/comments","statuses_url":"https://api.github.com/repos/SeleniumHQ/selenium/statuses/adae692778e37f80c4b3683fcb76b4124406dddf","head":{"label":"FrankyBoy:master","ref":"master","sha":"adae692778e37f80c4b3683fcb76b4124406dddf","user":{"login":"FrankyBoy","id":265792,"avatar_url":"https://avatars.githubusercontent.com/u/265792?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankyBoy","html_url":"https://github.com/FrankyBoy","followers_url":"https://api.github.com/users/FrankyBoy/followers","following_url":"https://api.github.com/users/FrankyBoy/following{/other_user}","gists_url":"https://api.github.com/users/FrankyBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankyBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankyBoy/subscriptions","organizations_url":"https://api.github.com/users/FrankyBoy/orgs","repos_url":"https://api.github.com/users/FrankyBoy/repos","events_url":"https://api.github.com/users/FrankyBoy/events{/privacy}","received_events_url":"https://api.github.com/users/FrankyBoy/received_events","type":"User","site_admin":false},"repo":{"id":32139877,"name":"selenium","full_name":"FrankyBoy/selenium","owner":{"login":"FrankyBoy","id":265792,"avatar_url":"https://avatars.githubusercontent.com/u/265792?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankyBoy","html_url":"https://github.com/FrankyBoy","followers_url":"https://api.github.com/users/FrankyBoy/followers","following_url":"https://api.github.com/users/FrankyBoy/following{/other_user}","gists_url":"https://api.github.com/users/FrankyBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankyBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankyBoy/subscriptions","organizations_url":"https://api.github.com/users/FrankyBoy/orgs","repos_url":"https://api.github.com/users/FrankyBoy/repos","events_url":"https://api.github.com/users/FrankyBoy/events{/privacy}","received_events_url":"https://api.github.com/users/FrankyBoy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FrankyBoy/selenium","description":"A browser automation framework and ecosystem.","fork":true,"url":"https://api.github.com/repos/FrankyBoy/selenium","forks_url":"https://api.github.com/repos/FrankyBoy/selenium/forks","keys_url":"https://api.github.com/repos/FrankyBoy/selenium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FrankyBoy/selenium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FrankyBoy/selenium/teams","hooks_url":"https://api.github.com/repos/FrankyBoy/selenium/hooks","issue_events_url":"https://api.github.com/repos/FrankyBoy/selenium/issues/events{/number}","events_url":"https://api.github.com/repos/FrankyBoy/selenium/events","assignees_url":"https://api.github.com/repos/FrankyBoy/selenium/assignees{/user}","branches_url":"https://api.github.com/repos/FrankyBoy/selenium/branches{/branch}","tags_url":"https://api.github.com/repos/FrankyBoy/selenium/tags","blobs_url":"https://api.github.com/repos/FrankyBoy/selenium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FrankyBoy/selenium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FrankyBoy/selenium/git/refs{/sha}","trees_url":"https://api.github.com/repos/FrankyBoy/selenium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FrankyBoy/selenium/statuses/{sha}","languages_url":"https://api.github.com/repos/FrankyBoy/selenium/languages","stargazers_url":"https://api.github.com/repos/FrankyBoy/selenium/stargazers","contributors_url":"https://api.github.com/repos/FrankyBoy/selenium/contributors","subscribers_url":"https://api.github.com/repos/FrankyBoy/selenium/subscribers","subscription_url":"https://api.github.com/repos/FrankyBoy/selenium/subscription","commits_url":"https://api.github.com/repos/FrankyBoy/selenium/commits{/sha}","git_commits_url":"https://api.github.com/repos/FrankyBoy/selenium/git/commits{/sha}","comments_url":"https://api.github.com/repos/FrankyBoy/selenium/comments{/number}","issue_comment_url":"https://api.github.com/repos/FrankyBoy/selenium/issues/comments{/number}","contents_url":"https://api.github.com/repos/FrankyBoy/selenium/contents/{+path}","compare_url":"https://api.github.com/repos/FrankyBoy/selenium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FrankyBoy/selenium/merges","archive_url":"https://api.github.com/repos/FrankyBoy/selenium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FrankyBoy/selenium/downloads","issues_url":"https://api.github.com/repos/FrankyBoy/selenium/issues{/number}","pulls_url":"https://api.github.com/repos/FrankyBoy/selenium/pulls{/number}","milestones_url":"https://api.github.com/repos/FrankyBoy/selenium/milestones{/number}","notifications_url":"https://api.github.com/repos/FrankyBoy/selenium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FrankyBoy/selenium/labels{/name}","releases_url":"https://api.github.com/repos/FrankyBoy/selenium/releases{/id}","created_at":"2015-03-13T07:41:40Z","updated_at":"2015-03-13T15:41:47Z","pushed_at":"2015-03-13T15:41:45Z","git_url":"git://github.com/FrankyBoy/selenium.git","ssh_url":"git@github.com:FrankyBoy/selenium.git","clone_url":"https://github.com/FrankyBoy/selenium.git","svn_url":"https://github.com/FrankyBoy/selenium","homepage":"http://seleniumhq.org/","size":1233122,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"SeleniumHQ:master","ref":"master","sha":"51b5fec601f6de21673c7dcf0194d4c8cb98ba68","user":{"login":"SeleniumHQ","id":983927,"avatar_url":"https://avatars.githubusercontent.com/u/983927?v=3","gravatar_id":"","url":"https://api.github.com/users/SeleniumHQ","html_url":"https://github.com/SeleniumHQ","followers_url":"https://api.github.com/users/SeleniumHQ/followers","following_url":"https://api.github.com/users/SeleniumHQ/following{/other_user}","gists_url":"https://api.github.com/users/SeleniumHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/SeleniumHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeleniumHQ/subscriptions","organizations_url":"https://api.github.com/users/SeleniumHQ/orgs","repos_url":"https://api.github.com/users/SeleniumHQ/repos","events_url":"https://api.github.com/users/SeleniumHQ/events{/privacy}","received_events_url":"https://api.github.com/users/SeleniumHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":7613257,"name":"selenium","full_name":"SeleniumHQ/selenium","owner":{"login":"SeleniumHQ","id":983927,"avatar_url":"https://avatars.githubusercontent.com/u/983927?v=3","gravatar_id":"","url":"https://api.github.com/users/SeleniumHQ","html_url":"https://github.com/SeleniumHQ","followers_url":"https://api.github.com/users/SeleniumHQ/followers","following_url":"https://api.github.com/users/SeleniumHQ/following{/other_user}","gists_url":"https://api.github.com/users/SeleniumHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/SeleniumHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeleniumHQ/subscriptions","organizations_url":"https://api.github.com/users/SeleniumHQ/orgs","repos_url":"https://api.github.com/users/SeleniumHQ/repos","events_url":"https://api.github.com/users/SeleniumHQ/events{/privacy}","received_events_url":"https://api.github.com/users/SeleniumHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SeleniumHQ/selenium","description":"A browser automation framework and ecosystem.","fork":false,"url":"https://api.github.com/repos/SeleniumHQ/selenium","forks_url":"https://api.github.com/repos/SeleniumHQ/selenium/forks","keys_url":"https://api.github.com/repos/SeleniumHQ/selenium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SeleniumHQ/selenium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SeleniumHQ/selenium/teams","hooks_url":"https://api.github.com/repos/SeleniumHQ/selenium/hooks","issue_events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/events{/number}","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/events","assignees_url":"https://api.github.com/repos/SeleniumHQ/selenium/assignees{/user}","branches_url":"https://api.github.com/repos/SeleniumHQ/selenium/branches{/branch}","tags_url":"https://api.github.com/repos/SeleniumHQ/selenium/tags","blobs_url":"https://api.github.com/repos/SeleniumHQ/selenium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SeleniumHQ/selenium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SeleniumHQ/selenium/git/refs{/sha}","trees_url":"https://api.github.com/repos/SeleniumHQ/selenium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SeleniumHQ/selenium/statuses/{sha}","languages_url":"https://api.github.com/repos/SeleniumHQ/selenium/languages","stargazers_url":"https://api.github.com/repos/SeleniumHQ/selenium/stargazers","contributors_url":"https://api.github.com/repos/SeleniumHQ/selenium/contributors","subscribers_url":"https://api.github.com/repos/SeleniumHQ/selenium/subscribers","subscription_url":"https://api.github.com/repos/SeleniumHQ/selenium/subscription","commits_url":"https://api.github.com/repos/SeleniumHQ/selenium/commits{/sha}","git_commits_url":"https://api.github.com/repos/SeleniumHQ/selenium/git/commits{/sha}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/comments{/number}","issue_comment_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments{/number}","contents_url":"https://api.github.com/repos/SeleniumHQ/selenium/contents/{+path}","compare_url":"https://api.github.com/repos/SeleniumHQ/selenium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SeleniumHQ/selenium/merges","archive_url":"https://api.github.com/repos/SeleniumHQ/selenium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SeleniumHQ/selenium/downloads","issues_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues{/number}","pulls_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls{/number}","milestones_url":"https://api.github.com/repos/SeleniumHQ/selenium/milestones{/number}","notifications_url":"https://api.github.com/repos/SeleniumHQ/selenium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/labels{/name}","releases_url":"https://api.github.com/repos/SeleniumHQ/selenium/releases{/id}","created_at":"2013-01-14T21:40:56Z","updated_at":"2015-03-13T15:07:36Z","pushed_at":"2015-03-13T15:07:35Z","git_url":"git://github.com/SeleniumHQ/selenium.git","ssh_url":"git@github.com:SeleniumHQ/selenium.git","clone_url":"https://github.com/SeleniumHQ/selenium.git","svn_url":"https://github.com/SeleniumHQ/selenium","homepage":"http://seleniumhq.org/","size":1233122,"stargazers_count":662,"watchers_count":662,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":608,"mirror_url":null,"open_issues_count":34,"forks":608,"open_issues":34,"watchers":662,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331"},"html":{"href":"https://github.com/SeleniumHQ/selenium/pull/331"},"issue":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/issues/331"},"comments":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/issues/331/comments"},"review_comments":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331/comments"},"review_comment":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/331/commits"},"statuses":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/statuses/adae692778e37f80c4b3683fcb76b4124406dddf"}}}}