add method Browser.set_profile

This commit is contained in:
Romain Bignon 2015-01-02 16:46:48 +01:00 committed by Florent
commit e5cf80aec8

View file

@ -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.