handling account can't use online service when login
This commit is contained in:
parent
5fe53ca8a5
commit
774c0fd8f0
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ class LoginPage(HTMLPage):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def is_error(self):
|
def is_error(self):
|
||||||
errors = self.doc.xpath(u'//div[@class="erreur" or @class="messError"]')
|
errors = self.doc.xpath(u'//*[@class="erreur" or @class="messError"]')
|
||||||
return len(errors) > 0
|
return len(errors) > 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue