fortuneo raise IncorrectPassword when there is new id
This commit is contained in:
parent
d155f2ca3b
commit
b2a1dc3dce
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class AccountHistoryPage(Page):
|
|||
|
||||
class AccountsList(Page):
|
||||
def on_loaded(self):
|
||||
warn = self.document.xpath('//div[@id="message_renouvellement_mot_passe"]')
|
||||
warn = self.document.xpath('//div[@id="message_renouvellement_mot_passe"] | //span[contains(text(), "Votre identifiant change")]')
|
||||
if len(warn) > 0:
|
||||
raise BrowserIncorrectPassword(warn[0].text)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue