add method Browser.set_profile
This commit is contained in:
parent
48ca3e5127
commit
e5cf80aec8
1 changed files with 3 additions and 0 deletions
|
|
@ -195,6 +195,9 @@ class Browser(object):
|
|||
|
||||
session.cookies = WeboobCookieJar()
|
||||
|
||||
def set_profile(self, profile):
|
||||
profile.setup_session(self.session)
|
||||
|
||||
def location(self, url, **kwargs):
|
||||
"""
|
||||
Like :meth:`open` but also changes the current URL and response.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue