Store "where" in ing browser

The ing browser needs a stateful navigation, so store the state with the
cookies
This commit is contained in:
Florent 2015-03-19 22:52:48 +01:00
commit c36f3bb040

View file

@ -62,6 +62,8 @@ class IngBrowser(LoginBrowser):
# CapBill
billpage = URL('/protected/pages/common/estatement/eStatement.jsf', BillsPage)
__states__ = ['where']
def __init__(self, *args, **kwargs):
self.birthday = re.sub(r'[^\d]', '', kwargs.pop('birthday'))
self.where = None