{"action":"opened","number":855,"pull_request":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/855","id":41274024,"html_url":"https://github.com/SeleniumHQ/selenium/pull/855","diff_url":"https://github.com/SeleniumHQ/selenium/pull/855.diff","patch_url":"https://github.com/SeleniumHQ/selenium/pull/855.patch","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/855","number":855,"state":"open","locked":false,"title":"The Class target was added to PageObject attributes","user":{"login":"TikhomirovSergey","id":4927589,"avatar_url":"https://avatars.githubusercontent.com/u/4927589?v=3","gravatar_id":"","url":"https://api.github.com/users/TikhomirovSergey","html_url":"https://github.com/TikhomirovSergey","followers_url":"https://api.github.com/users/TikhomirovSergey/followers","following_url":"https://api.github.com/users/TikhomirovSergey/following{/other_user}","gists_url":"https://api.github.com/users/TikhomirovSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/TikhomirovSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TikhomirovSergey/subscriptions","organizations_url":"https://api.github.com/users/TikhomirovSergey/orgs","repos_url":"https://api.github.com/users/TikhomirovSergey/repos","events_url":"https://api.github.com/users/TikhomirovSergey/events{/privacy}","received_events_url":"https://api.github.com/users/TikhomirovSergey/received_events","type":"User","site_admin":false},"body":"This change change provides to end user some additional options.\r\n\r\nFor example\r\nUser needs to develop page object like that:\r\n\r\n```csharp\r\n//[FindsBySequence]\r\n[FindsBy(How = How.Id, Using = \"SomeId\", Priority = 1)]\r\n[FindsBy(How = How.ClassName, Using = \"SomeClass\", Priority = 2)]\r\n//and so on\r\n//the construction above describes how to find the root element\r\nclass PageObject\r\n{\r\n[FindsBy(How = How.TagName, Using = \"SomeTag\")]\r\nIWebElement e; //this is the nested element\r\n}\r\n```\r\nAt this case they only need to develop their own customized\r\n[IPageObjectMemberDecorator](https://github.com/SeleniumHQ/selenium/blob/master/dotnet/src/support/PageObjects/IPageObjectMemberDecorator.cs)\r\nimplementation that can handle classes/members like above","created_at":"2015-07-30T19:45:56Z","updated_at":"2015-07-30T19:45:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/855/commits","review_comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/855/comments","review_comment_url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/855/comments","statuses_url":"https://api.github.com/repos/SeleniumHQ/selenium/statuses/7f3a2e4aadc55a2d8277edc18e16d523372876b2","head":{"label":"TikhomirovSergey:Attribute_Enhancement_DotNet_PageObjects","ref":"Attribute_Enhancement_DotNet_PageObjects","sha":"7f3a2e4aadc55a2d8277edc18e16d523372876b2","user":{"login":"TikhomirovSergey","id":4927589,"avatar_url":"https://avatars.githubusercontent.com/u/4927589?v=3","gravatar_id":"","url":"https://api.github.com/users/TikhomirovSergey","html_url":"https://github.com/TikhomirovSergey","followers_url":"https://api.github.com/users/TikhomirovSergey/followers","following_url":"https://api.github.com/users/TikhomirovSergey/following{/other_user}","gists_url":"https://api.github.com/users/TikhomirovSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/TikhomirovSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TikhomirovSergey/subscriptions","organizations_url":"https://api.github.com/users/TikhomirovSergey/orgs","repos_url":"https://api.github.com/users/TikhomirovSergey/repos","events_url":"https://api.github.com/users/TikhomirovSergey/events{/privacy}","received_events_url":"https://api.github.com/users/TikhomirovSergey/received_events","type":"User","site_admin":false},"repo":{"id":33380541,"name":"selenium","full_name":"TikhomirovSergey/selenium","owner":{"login":"TikhomirovSergey","id":4927589,"avatar_url":"https://avatars.githubusercontent.com/u/4927589?v=3","gravatar_id":"","url":"https://api.github.com/users/TikhomirovSergey","html_url":"https://github.com/TikhomirovSergey","followers_url":"https://api.github.com/users/TikhomirovSergey/followers","following_url":"https://api.github.com/users/TikhomirovSergey/following{/other_user}","gists_url":"https://api.github.com/users/TikhomirovSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/TikhomirovSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TikhomirovSergey/subscriptions","organizations_url":"https://api.github.com/users/TikhomirovSergey/orgs","repos_url":"https://api.github.com/users/TikhomirovSergey/repos","events_url":"https://api.github.com/users/TikhomirovSergey/events{/privacy}","received_events_url":"https://api.github.com/users/TikhomirovSergey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TikhomirovSergey/selenium","description":"A browser automation framework and ecosystem.","fork":true,"url":"https://api.github.com/repos/TikhomirovSergey/selenium","forks_url":"https://api.github.com/repos/TikhomirovSergey/selenium/forks","keys_url":"https://api.github.com/repos/TikhomirovSergey/selenium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TikhomirovSergey/selenium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TikhomirovSergey/selenium/teams","hooks_url":"https://api.github.com/repos/TikhomirovSergey/selenium/hooks","issue_events_url":"https://api.github.com/repos/TikhomirovSergey/selenium/issues/events{/number}","events_url":"https://api.github.com/repos/TikhomirovSergey/selenium/events","assignees_url":"https://api.github.com/repos/TikhomirovSergey/selenium/assignees{/user}","branches_url":"https://api.github.com/repos/TikhomirovSergey/selenium/branches{/branch}","tags_url":"https://api.github.com/repos/TikhomirovSergey/selenium/tags","blobs_url":"https://api.github.com/repos/TikhomirovSergey/selenium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TikhomirovSergey/selenium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TikhomirovSergey/selenium/git/refs{/sha}","trees_url":"https://api.github.com/repos/TikhomirovSergey/selenium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TikhomirovSergey/selenium/statuses/{sha}","languages_url":"https://api.github.com/repos/TikhomirovSergey/selenium/languages","stargazers_url":"https://api.github.com/repos/TikhomirovSergey/selenium/stargazers","contributors_url":"https://api.github.com/repos/TikhomirovSergey/selenium/contributors","subscribers_url":"https://api.github.com/repos/TikhomirovSergey/selenium/subscribers","subscription_url":"https://api.github.com/repos/TikhomirovSergey/selenium/subscription","commits_url":"https://api.github.com/repos/TikhomirovSergey/selenium/commits{/sha}","git_commits_url":"https://api.github.com/repos/TikhomirovSergey/selenium/git/commits{/sha}","comments_url":"https://api.github.com/repos/TikhomirovSergey/selenium/comments{/number}","issue_comment_url":"https://api.github.com/repos/TikhomirovSergey/selenium/issues/comments{/number}","contents_url":"https://api.github.com/repos/TikhomirovSergey/selenium/contents/{+path}","compare_url":"https://api.github.com/repos/TikhomirovSergey/selenium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TikhomirovSergey/selenium/merges","archive_url":"https://api.github.com/repos/TikhomirovSergey/selenium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TikhomirovSergey/selenium/downloads","issues_url":"https://api.github.com/repos/TikhomirovSergey/selenium/issues{/number}","pulls_url":"https://api.github.com/repos/TikhomirovSergey/selenium/pulls{/number}","milestones_url":"https://api.github.com/repos/TikhomirovSergey/selenium/milestones{/number}","notifications_url":"https://api.github.com/repos/TikhomirovSergey/selenium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TikhomirovSergey/selenium/labels{/name}","releases_url":"https://api.github.com/repos/TikhomirovSergey/selenium/releases{/id}","created_at":"2015-04-03T20:03:20Z","updated_at":"2015-04-03T20:03:30Z","pushed_at":"2015-07-30T19:45:09Z","git_url":"git://github.com/TikhomirovSergey/selenium.git","ssh_url":"git@github.com:TikhomirovSergey/selenium.git","clone_url":"https://github.com/TikhomirovSergey/selenium.git","svn_url":"https://github.com/TikhomirovSergey/selenium","homepage":"http://seleniumhq.org/","size":1174089,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SeleniumHQ:master","ref":"master","sha":"748cada2ff8de9fa9d7a19f09edf87f8549c87d8","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-07-30T18:22:28Z","pushed_at":"2015-07-30T18:41:52Z","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":1299999,"stargazers_count":1453,"watchers_count":1453,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":968,"mirror_url":null,"open_issues_count":129,"forks":968,"open_issues":129,"watchers":1453,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/855"},"html":{"href":"https://github.com/SeleniumHQ/selenium/pull/855"},"issue":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/issues/855"},"comments":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/issues/855/comments"},"review_comments":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/855/comments"},"review_comment":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/855/commits"},"statuses":{"href":"https://api.github.com/repos/SeleniumHQ/selenium/statuses/7f3a2e4aadc55a2d8277edc18e16d523372876b2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":3}}