Commit fbd76048 authored by Maxime Gasselin's avatar Maxime Gasselin Committed by Romain Bignon

[caissedepargne] Fix regression

Replace to self.browser.session.cookies. Crash for revolving loans.

Closes: 6087@sibi
parent 7861d55d
......@@ -459,7 +459,7 @@ class IndexPage(LoggedPage, HTMLPage):
account._card_links = []
if "renouvelables" in CleanText('.')(title):
if 'JSESSIONID' in self.session.cookies:
if 'JSESSIONID' in self.browser.session.cookies:
# Need to delete this to access the consumer loans space (a new one will be created)
del self.browser.session.cookies['JSESSIONID']
self.go_loans_conso(tr)
......
Markdown is supported
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