{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/comments/81202170","pull_request_review_id":2195354,"id":81202170,"diff_hunk":"@@ -0,0 +1,90 @@\n+# This Source Code Form is subject to the terms of the Mozilla Public\n+# License, v. 2.0. If a copy of the MPL was not distributed with this file,\n+# You can obtain one at http://mozilla.org/MPL/2.0/.\n+\n+from .tabbar import TabBar\n+from .navbar import Navbar\n+from foxpuppet.ui.windows import Windows\n+from foxpuppet.ui.base_window import BaseWindow\n+\n+\n+class Browser_Window(object):\n+\n+    def __init__(self, foxpuppet, *args, **kwargs):\n+        BaseWindow()\n+        self.windows = Windows(foxpuppet)\n+\n+        self.selenium = foxpuppet.selenium\n+        self._navbar = None\n+        self._tabbar = None\n+\n+    @property\n+    def navbar(self):\n+        self.selenium.switch_to()\n+\n+        if not self._navbar:\n+            navbar = self.selenium.find_element_by_id('nav-bar')","path":"foxpuppet/ui/browser/window.py","position":26,"original_position":26,"commit_id":"e6f3983222f30789b84d0a762e59de7f1b41e1e3","original_commit_id":"35dd581044fed3fc094ee1f89a4e01fbad12fad9","user":{"login":"davehunt","id":122800,"avatar_url":"https://avatars.githubusercontent.com/u/122800?v=3","gravatar_id":"","url":"https://api.github.com/users/davehunt","html_url":"https://github.com/davehunt","followers_url":"https://api.github.com/users/davehunt/followers","following_url":"https://api.github.com/users/davehunt/following{/other_user}","gists_url":"https://api.github.com/users/davehunt/gists{/gist_id}","starred_url":"https://api.github.com/users/davehunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehunt/subscriptions","organizations_url":"https://api.github.com/users/davehunt/orgs","repos_url":"https://api.github.com/users/davehunt/repos","events_url":"https://api.github.com/users/davehunt/events{/privacy}","received_events_url":"https://api.github.com/users/davehunt/received_events","type":"User","site_admin":false},"body":"Totally agree with @whimboo.","created_at":"2016-09-29T18:20:42Z","updated_at":"2016-09-29T18:20:43Z","html_url":"https://github.com/mozilla/FoxPuppet/pull/33#discussion_r81202170","pull_request_url":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/comments/81202170"},"html":{"href":"https://github.com/mozilla/FoxPuppet/pull/33#discussion_r81202170"},"pull_request":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33","id":86937298,"html_url":"https://github.com/mozilla/FoxPuppet/pull/33","diff_url":"https://github.com/mozilla/FoxPuppet/pull/33.diff","patch_url":"https://github.com/mozilla/FoxPuppet/pull/33.patch","issue_url":"https://api.github.com/repos/mozilla/FoxPuppet/issues/33","number":33,"state":"open","locked":false,"title":"Initial browser modeling r? @silne30","user":{"login":"jrbenny35","id":5751892,"avatar_url":"https://avatars.githubusercontent.com/u/5751892?v=3","gravatar_id":"","url":"https://api.github.com/users/jrbenny35","html_url":"https://github.com/jrbenny35","followers_url":"https://api.github.com/users/jrbenny35/followers","following_url":"https://api.github.com/users/jrbenny35/following{/other_user}","gists_url":"https://api.github.com/users/jrbenny35/gists{/gist_id}","starred_url":"https://api.github.com/users/jrbenny35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrbenny35/subscriptions","organizations_url":"https://api.github.com/users/jrbenny35/orgs","repos_url":"https://api.github.com/users/jrbenny35/repos","events_url":"https://api.github.com/users/jrbenny35/events{/privacy}","received_events_url":"https://api.github.com/users/jrbenny35/received_events","type":"User","site_admin":false},"body":"Just getting this started so there is some idea of what is going on. I have a few tests and Docs started but nothing really done with them. The browser model works but it needs a lot of assistance from the base_window and windows classes. Of course we can add more to those as we move on.","created_at":"2016-09-27T14:08:03Z","updated_at":"2016-09-29T18:27:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"139721b2e06ec9a7dfb1311a40bca59223968dd7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33/commits","review_comments_url":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33/comments","review_comment_url":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/FoxPuppet/issues/33/comments","statuses_url":"https://api.github.com/repos/mozilla/FoxPuppet/statuses/e6f3983222f30789b84d0a762e59de7f1b41e1e3","head":{"label":"jrbenny35:Initial_Browser_Modeling","ref":"Initial_Browser_Modeling","sha":"e6f3983222f30789b84d0a762e59de7f1b41e1e3","user":{"login":"jrbenny35","id":5751892,"avatar_url":"https://avatars.githubusercontent.com/u/5751892?v=3","gravatar_id":"","url":"https://api.github.com/users/jrbenny35","html_url":"https://github.com/jrbenny35","followers_url":"https://api.github.com/users/jrbenny35/followers","following_url":"https://api.github.com/users/jrbenny35/following{/other_user}","gists_url":"https://api.github.com/users/jrbenny35/gists{/gist_id}","starred_url":"https://api.github.com/users/jrbenny35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrbenny35/subscriptions","organizations_url":"https://api.github.com/users/jrbenny35/orgs","repos_url":"https://api.github.com/users/jrbenny35/repos","events_url":"https://api.github.com/users/jrbenny35/events{/privacy}","received_events_url":"https://api.github.com/users/jrbenny35/received_events","type":"User","site_admin":false},"repo":{"id":68713555,"name":"FoxPuppet","full_name":"jrbenny35/FoxPuppet","owner":{"login":"jrbenny35","id":5751892,"avatar_url":"https://avatars.githubusercontent.com/u/5751892?v=3","gravatar_id":"","url":"https://api.github.com/users/jrbenny35","html_url":"https://github.com/jrbenny35","followers_url":"https://api.github.com/users/jrbenny35/followers","following_url":"https://api.github.com/users/jrbenny35/following{/other_user}","gists_url":"https://api.github.com/users/jrbenny35/gists{/gist_id}","starred_url":"https://api.github.com/users/jrbenny35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrbenny35/subscriptions","organizations_url":"https://api.github.com/users/jrbenny35/orgs","repos_url":"https://api.github.com/users/jrbenny35/repos","events_url":"https://api.github.com/users/jrbenny35/events{/privacy}","received_events_url":"https://api.github.com/users/jrbenny35/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jrbenny35/FoxPuppet","description":"# Foxpuppet","fork":true,"url":"https://api.github.com/repos/jrbenny35/FoxPuppet","forks_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/forks","keys_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/teams","hooks_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/hooks","issue_events_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/issues/events{/number}","events_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/events","assignees_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/assignees{/user}","branches_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/branches{/branch}","tags_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/tags","blobs_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/statuses/{sha}","languages_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/languages","stargazers_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/stargazers","contributors_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/contributors","subscribers_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/subscribers","subscription_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/subscription","commits_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/contents/{+path}","compare_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/merges","archive_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/downloads","issues_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/issues{/number}","pulls_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/pulls{/number}","milestones_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/milestones{/number}","notifications_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/labels{/name}","releases_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/releases{/id}","deployments_url":"https://api.github.com/repos/jrbenny35/FoxPuppet/deployments","created_at":"2016-09-20T13:15:59Z","updated_at":"2016-09-20T13:16:01Z","pushed_at":"2016-09-28T00:58:38Z","git_url":"git://github.com/jrbenny35/FoxPuppet.git","ssh_url":"git@github.com:jrbenny35/FoxPuppet.git","clone_url":"https://github.com/jrbenny35/FoxPuppet.git","svn_url":"https://github.com/jrbenny35/FoxPuppet","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mozilla:master","ref":"master","sha":"b5c062bfe3094a7bb9ed2a9aa690a0d16242303c","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":63458439,"name":"FoxPuppet","full_name":"mozilla/FoxPuppet","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/FoxPuppet","description":"# Foxpuppet","fork":false,"url":"https://api.github.com/repos/mozilla/FoxPuppet","forks_url":"https://api.github.com/repos/mozilla/FoxPuppet/forks","keys_url":"https://api.github.com/repos/mozilla/FoxPuppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/FoxPuppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/FoxPuppet/teams","hooks_url":"https://api.github.com/repos/mozilla/FoxPuppet/hooks","issue_events_url":"https://api.github.com/repos/mozilla/FoxPuppet/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/FoxPuppet/events","assignees_url":"https://api.github.com/repos/mozilla/FoxPuppet/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/FoxPuppet/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/FoxPuppet/tags","blobs_url":"https://api.github.com/repos/mozilla/FoxPuppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/FoxPuppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/FoxPuppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/FoxPuppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/FoxPuppet/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/FoxPuppet/languages","stargazers_url":"https://api.github.com/repos/mozilla/FoxPuppet/stargazers","contributors_url":"https://api.github.com/repos/mozilla/FoxPuppet/contributors","subscribers_url":"https://api.github.com/repos/mozilla/FoxPuppet/subscribers","subscription_url":"https://api.github.com/repos/mozilla/FoxPuppet/subscription","commits_url":"https://api.github.com/repos/mozilla/FoxPuppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/FoxPuppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/FoxPuppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/FoxPuppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/FoxPuppet/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/FoxPuppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/FoxPuppet/merges","archive_url":"https://api.github.com/repos/mozilla/FoxPuppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/FoxPuppet/downloads","issues_url":"https://api.github.com/repos/mozilla/FoxPuppet/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/FoxPuppet/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/FoxPuppet/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/FoxPuppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/FoxPuppet/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/FoxPuppet/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/FoxPuppet/deployments","created_at":"2016-07-16T00:44:38Z","updated_at":"2016-09-16T14:58:21Z","pushed_at":"2016-09-28T00:58:39Z","git_url":"git://github.com/mozilla/FoxPuppet.git","ssh_url":"git@github.com:mozilla/FoxPuppet.git","clone_url":"https://github.com/mozilla/FoxPuppet.git","svn_url":"https://github.com/mozilla/FoxPuppet","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":22,"forks":1,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33"},"html":{"href":"https://github.com/mozilla/FoxPuppet/pull/33"},"issue":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/issues/33"},"comments":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/FoxPuppet/statuses/e6f3983222f30789b84d0a762e59de7f1b41e1e3"}}}}
{"actor":{"display_login":"davehunt"}}