Commit 0601a0b6 authored by Edouard Lambert's avatar Edouard Lambert Committed by Romain Bignon

[americanexpress] fixing xpath on accounts2

parent 80aafbd0
......@@ -126,7 +126,7 @@ class AccountsPage2(LoggedPage, PartialHTMLPage):
return -abs(parse_decimal(CleanText('//td[@id="colOSBalance"]/div[@class="summaryValues makeBold"]')(self)))
def obj_url(self):
return urljoin(self.page.url, Link('//a[span[text()="Online Statement"]]')(self))
return urljoin(self.page.url, Link(u'//a[span[text()="Online Statement"] or text()="Détail de vos opérations"]')(self))
class TransactionsPage(LoggedPage, HTMLPage):
......
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