Commit 731e8c87 authored by Frédéric Lépy's avatar Frédéric Lépy Committed by Romain Bignon
Browse files

[axabanque] Rewrote xPath selector

Closes: 434687@redmine
parent 1a9c5ab2
......@@ -160,7 +160,7 @@ def get_investment_url(self):
return Attr('//article[has-class("card-distribution")]', 'data-url', default=None)(self.doc)
def get_pagination_url(self):
return Attr('//div[has-class("default")][@data-current-page]', 'data-url')(self.doc)
return Attr('//div[contains(@class, "default")][@data-current-page]', 'data-url')(self.doc)
@method
class get_investments(ListElement):
......
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