The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

  • Stephane Sobucki's avatar
    [carrefourbanque] Fix login · 1edd3628
    Stephane Sobucki authored
    The first time we login, we get a cookie 'SSESSION...'.
    If this cookie is present, when we try to go to the LoginPage we will be
    redirected to the HomePage.
    
    For the next session, because locate_browser() doesn't do anything, do_login() will be called
    but if the cookie 'SSESSION...' is valid we'll be redirected to the HomePage.
    
    This results in calling LoginPage's enter_login() method, even though
    we're on the HomePage, and it causes an AttributeError.
    
    To solve this I removed locate_browser() overriding.
    1edd3628
Name
Last commit
Last update
..
__init__.py Loading commit data...
browser.py Loading commit data...
favicon.png Loading commit data...
module.py Loading commit data...
pages.py Loading commit data...
test.py Loading commit data...