Skip to content
Commit 1edd3628 authored by Stéphane Sobucki's avatar Stéphane Sobucki Committed by hydrargyrum
Browse files

[carrefourbanque] Fix login

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.
parent 485c6b49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment