diff --git a/weboob/browser/browsers.py b/weboob/browser/browsers.py index b09bbace..22a1296a 100644 --- a/weboob/browser/browsers.py +++ b/weboob/browser/browsers.py @@ -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.