diff --git a/modules/creditmutuel/browser.py b/modules/creditmutuel/browser.py index 63bb58f73e3b0e94a36e6f3f3e7c360f26ddb4c1..1eaf06921ee6f0ebfc8ce5739f06b51e09f2f0bb 100644 --- a/modules/creditmutuel/browser.py +++ b/modules/creditmutuel/browser.py @@ -48,7 +48,8 @@ LIAccountsPage, CardsActivityPage, CardsListPage, CardsOpePage, NewAccountsPage, InternalTransferPage, ExternalTransferPage, RevolvingLoanDetails, RevolvingLoansList, - ErrorPage, SubscriptionPage, NewCardsListPage, CardPage2 + ErrorPage, SubscriptionPage, NewCardsListPage, CardPage2, + ConditionsPage, ) @@ -136,6 +137,7 @@ class CreditMutuelBrowser(LoginBrowser, StatesMixin): error = URL(r'/(?P.*)validation/infos.cgi', ErrorPage) subscription = URL(r'/(?P.*)fr/banque/MMU2_LstDoc.aspx', SubscriptionPage) + terms_and_conditions = URL(r'/(?P.*)fr/banque/conditions-generales.html', ConditionsPage) currentSubBank = None is_new_website = None diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index 1cbd7f0db25e093f48734c09afe68c46c5a61e6a..11e917c3bec398aa1848c96a3aee0c9e705bbe1f 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -1950,3 +1950,6 @@ def get_second_page_link(self): if other_cards: return Link(other_cards)(self) + +class ConditionsPage(LoggedPage, HTMLPage): + pass