do not crash with market accounts
This commit is contained in:
parent
8d04e22703
commit
8d8ee80770
1 changed files with 6 additions and 1 deletions
|
|
@ -340,4 +340,9 @@ class TransactionsPage(BasePage):
|
||||||
yield t
|
yield t
|
||||||
|
|
||||||
def no_operations(self):
|
def no_operations(self):
|
||||||
return len(self.document.xpath('//table[@id="tbl1"]//td[@colspan]')) > 0
|
if len(self.document.xpath('//table[@id="tbl1"]//td[@colspan]')) > 0:
|
||||||
|
return True
|
||||||
|
if len(self.document.xpath(u'//div[contains(text(), "Accès à LineBourse")]')) > 0:
|
||||||
|
return True
|
||||||
|
|
||||||
|
return False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue