{"action":"closed","number":266,"pull_request":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/266","id":11538082,"html_url":"https://github.com/rtomac/robotframework-selenium2library/pull/266","diff_url":"https://github.com/rtomac/robotframework-selenium2library/pull/266.diff","patch_url":"https://github.com/rtomac/robotframework-selenium2library/pull/266.patch","issue_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/266","number":266,"state":"closed","locked":false,"title":"Update _managementbrowser.py","user":{"login":"githubccruz","id":6410416,"avatar_url":"https://avatars.githubusercontent.com/u/6410416?v=3","gravatar_id":"","url":"https://api.github.com/users/githubccruz","html_url":"https://github.com/githubccruz","followers_url":"https://api.github.com/users/githubccruz/followers","following_url":"https://api.github.com/users/githubccruz/following{/other_user}","gists_url":"https://api.github.com/users/githubccruz/gists{/gist_id}","starred_url":"https://api.github.com/users/githubccruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubccruz/subscriptions","organizations_url":"https://api.github.com/users/githubccruz/orgs","repos_url":"https://api.github.com/users/githubccruz/repos","events_url":"https://api.github.com/users/githubccruz/events{/privacy}","received_events_url":"https://api.github.com/users/githubccruz/received_events","type":"User","site_admin":false},"body":"I Try to get the instance from Robot to use on Python, for use the current instance of the Robot Browser that created, I had to modify the source code by changing the function \"def get_source (self):\r\n         \"\" \"Returns The entire html source of the current page or frame.\" \"\"\r\n         self._current_browser return (). get_page_source () \"\r\n  I return to the current instance (return self._current_browser ()). The idea came to use BuiltIn that returns the instance of a specific library such as \"browser = BuiltIn () get_library_instance. (\" Selenium2Library \")\r\nbrowser.get_source browser = () \"=> modified with the function of selenium webdriver using. And so to use the power provided by the library\" selenium \".\r\n\r\nMy suggestion is that a method that returns the current \"webdriver\" Robot is using that to make use of it from Python is added.\r\n\r\nget_current_browser def (self):\r\n        \"\" \"Return current webdriver object\" \"\"\r\nself._current_browser return ()\r\n\r\n\r\nEn caso de que no me supe explicar bien, o existe una forma de manejar esta situación por favor me dejan saber.\r\n\r\ngracias.\r\n\r\nI created the next function to my propuse, i hope that helps\r\n    def get_current_browser(self):\r\n        \"\"\"Returns the current webdriver object\"\"\"\r\n        return self._current_browser()","created_at":"2014-01-15T15:15:36Z","updated_at":"2015-02-04T00:39:13Z","closed_at":"2015-02-04T00:39:13Z","merged_at":null,"merge_commit_sha":"d25790f7be2e9cfb499a31ce5c4b9159d58fc08b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/266/commits","review_comments_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/266/comments","review_comment_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/266/comments","statuses_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/statuses/daa9bdfc3fad83cf38f413a7c8610148a9d88e08","head":{"label":"githubccruz:patch-1","ref":"patch-1","sha":"daa9bdfc3fad83cf38f413a7c8610148a9d88e08","user":{"login":"githubccruz","id":6410416,"avatar_url":"https://avatars.githubusercontent.com/u/6410416?v=3","gravatar_id":"","url":"https://api.github.com/users/githubccruz","html_url":"https://github.com/githubccruz","followers_url":"https://api.github.com/users/githubccruz/followers","following_url":"https://api.github.com/users/githubccruz/following{/other_user}","gists_url":"https://api.github.com/users/githubccruz/gists{/gist_id}","starred_url":"https://api.github.com/users/githubccruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubccruz/subscriptions","organizations_url":"https://api.github.com/users/githubccruz/orgs","repos_url":"https://api.github.com/users/githubccruz/repos","events_url":"https://api.github.com/users/githubccruz/events{/privacy}","received_events_url":"https://api.github.com/users/githubccruz/received_events","type":"User","site_admin":false},"repo":{"id":15938004,"name":"robotframework-selenium2library","full_name":"githubccruz/robotframework-selenium2library","owner":{"login":"githubccruz","id":6410416,"avatar_url":"https://avatars.githubusercontent.com/u/6410416?v=3","gravatar_id":"","url":"https://api.github.com/users/githubccruz","html_url":"https://github.com/githubccruz","followers_url":"https://api.github.com/users/githubccruz/followers","following_url":"https://api.github.com/users/githubccruz/following{/other_user}","gists_url":"https://api.github.com/users/githubccruz/gists{/gist_id}","starred_url":"https://api.github.com/users/githubccruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubccruz/subscriptions","organizations_url":"https://api.github.com/users/githubccruz/orgs","repos_url":"https://api.github.com/users/githubccruz/repos","events_url":"https://api.github.com/users/githubccruz/events{/privacy}","received_events_url":"https://api.github.com/users/githubccruz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/githubccruz/robotframework-selenium2library","description":"Web testing library for Robot Framework","fork":true,"url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library","forks_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/forks","keys_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/teams","hooks_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/hooks","issue_events_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/issues/events{/number}","events_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/events","assignees_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/assignees{/user}","branches_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/branches{/branch}","tags_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/tags","blobs_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/git/refs{/sha}","trees_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/statuses/{sha}","languages_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/languages","stargazers_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/stargazers","contributors_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/contributors","subscribers_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/subscribers","subscription_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/subscription","commits_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/commits{/sha}","git_commits_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/git/commits{/sha}","comments_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/comments{/number}","issue_comment_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/issues/comments/{number}","contents_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/contents/{+path}","compare_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/merges","archive_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/downloads","issues_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/issues{/number}","pulls_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/pulls{/number}","milestones_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/milestones{/number}","notifications_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/labels{/name}","releases_url":"https://api.github.com/repos/githubccruz/robotframework-selenium2library/releases{/id}","created_at":"2014-01-15T14:48:54Z","updated_at":"2014-03-10T19:55:15Z","pushed_at":"2014-01-15T15:15:05Z","git_url":"git://github.com/githubccruz/robotframework-selenium2library.git","ssh_url":"git@github.com:githubccruz/robotframework-selenium2library.git","clone_url":"https://github.com/githubccruz/robotframework-selenium2library.git","svn_url":"https://github.com/githubccruz/robotframework-selenium2library","homepage":"","size":110388,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rtomac:master","ref":"master","sha":"bbf3efe58f09091498b4db59ba79eff675713459","user":{"login":"rtomac","id":915422,"avatar_url":"https://avatars.githubusercontent.com/u/915422?v=3","gravatar_id":"","url":"https://api.github.com/users/rtomac","html_url":"https://github.com/rtomac","followers_url":"https://api.github.com/users/rtomac/followers","following_url":"https://api.github.com/users/rtomac/following{/other_user}","gists_url":"https://api.github.com/users/rtomac/gists{/gist_id}","starred_url":"https://api.github.com/users/rtomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtomac/subscriptions","organizations_url":"https://api.github.com/users/rtomac/orgs","repos_url":"https://api.github.com/users/rtomac/repos","events_url":"https://api.github.com/users/rtomac/events{/privacy}","received_events_url":"https://api.github.com/users/rtomac/received_events","type":"User","site_admin":false},"repo":{"id":2625205,"name":"robotframework-selenium2library","full_name":"rtomac/robotframework-selenium2library","owner":{"login":"rtomac","id":915422,"avatar_url":"https://avatars.githubusercontent.com/u/915422?v=3","gravatar_id":"","url":"https://api.github.com/users/rtomac","html_url":"https://github.com/rtomac","followers_url":"https://api.github.com/users/rtomac/followers","following_url":"https://api.github.com/users/rtomac/following{/other_user}","gists_url":"https://api.github.com/users/rtomac/gists{/gist_id}","starred_url":"https://api.github.com/users/rtomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtomac/subscriptions","organizations_url":"https://api.github.com/users/rtomac/orgs","repos_url":"https://api.github.com/users/rtomac/repos","events_url":"https://api.github.com/users/rtomac/events{/privacy}","received_events_url":"https://api.github.com/users/rtomac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rtomac/robotframework-selenium2library","description":"Web testing library for Robot Framework","fork":false,"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library","forks_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/forks","keys_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/teams","hooks_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/hooks","issue_events_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/events{/number}","events_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/events","assignees_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/assignees{/user}","branches_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/branches{/branch}","tags_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/tags","blobs_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/git/refs{/sha}","trees_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/statuses/{sha}","languages_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/languages","stargazers_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/stargazers","contributors_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/contributors","subscribers_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/subscribers","subscription_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/subscription","commits_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/commits{/sha}","git_commits_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/git/commits{/sha}","comments_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/comments{/number}","issue_comment_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/comments/{number}","contents_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/contents/{+path}","compare_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/merges","archive_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/downloads","issues_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues{/number}","pulls_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls{/number}","milestones_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/milestones{/number}","notifications_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/labels{/name}","releases_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/releases{/id}","created_at":"2011-10-22T08:01:34Z","updated_at":"2015-02-02T17:29:48Z","pushed_at":"2014-12-29T02:30:49Z","git_url":"git://github.com/rtomac/robotframework-selenium2library.git","ssh_url":"git@github.com:rtomac/robotframework-selenium2library.git","clone_url":"https://github.com/rtomac/robotframework-selenium2library.git","svn_url":"https://github.com/rtomac/robotframework-selenium2library","homepage":"","size":111814,"stargazers_count":185,"watchers_count":185,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":165,"mirror_url":null,"open_issues_count":108,"forks":165,"open_issues":108,"watchers":185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/266"},"html":{"href":"https://github.com/rtomac/robotframework-selenium2library/pull/266"},"issue":{"href":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/266"},"comments":{"href":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/rtomac/robotframework-selenium2library/statuses/daa9bdfc3fad83cf38f413a7c8610148a9d88e08"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}