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

Commit c04d8834 authored by mgasselin's avatar mgasselin Committed by Romain Bignon

[binck] Handle ActionNeeded for password changing

The url changed and the xpath too.

Closes: 33297@sibi
parent 1d394032
......@@ -57,7 +57,8 @@ class BinckBrowser(LoginBrowser):
history = URL(r'/TransactionsOverview/GetTransactions',
r'/TransactionsOverview/FilteredOverview', HistoryPage)
questions = URL(r'/FDL_Complex_FR_Compte', QuestionPage)
change_pass = URL(r'/ChangePassword/Index', ChangePassPage)
change_pass = URL(r'/ChangePassword/Index',
r'/EditSetting/GetSetting\?code=MutationPassword', ChangePassPage)
def deinit(self):
if and
......@@ -64,7 +64,7 @@ def on_load(self):
class ChangePassPage(LoggedPage, HTMLPage):
def on_load(self):
message = CleanText('//h3')(self.doc)
message = CleanText('//h3')(self.doc) or CleanText('//h1')(self.doc)
raise BrowserPasswordExpired(message)
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