diff --git a/modules/boursorama/browser.py b/modules/boursorama/browser.py index 4a362840..e9cf5f39 100644 --- a/modules/boursorama/browser.py +++ b/modules/boursorama/browser.py @@ -82,6 +82,9 @@ class Boursorama(BaseBrowser): def get_history(self, account): self.location(account._link_id) + if not self.is_on_page(AccountHistory): + raise NotImplementedError() + operations = self.page.get_operations() # load last month as well target = date.today() - relativedelta(months=1)