Commit 75584701 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[boursorama] Fixed loan currency xpath

parent 4f5de64f
......@@ -409,7 +409,7 @@ class LoanPage(LoggedPage, HTMLPage):
obj_id = CleanText('//h3[contains(@class, "account-number")]/strong')
obj_label = CleanText('//h2[contains(@class, "page-title__account")]//*[@class="account-edit-label"]/span[1]')
obj_currency = CleanCurrency('//div[contains(text(), "Montant emprunt")]/following-sibling::div')
obj_currency = CleanCurrency('//p[contains(text(), "Solde impayé")]/span')
obj_duration = CleanDecimal.French('//p[contains(text(), "échéances restantes")]/span', default=NotAvailable)
obj_rate = CleanDecimal.French('//p[contains(text(), "Taux nominal en vigueur du prêt")]/span', default=NotAvailable)
obj_nb_payments_left = CleanDecimal.French('//p[contains(text(), "échéances restantes")]/span', default=NotAvailable)
......
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