diff --git a/weboob/browser/selenium.py b/weboob/browser/selenium.py index 3885b0eab8600282a47e763da949a0adf9f28374..6ce495c3f60001fe8fe669b76f6cbb34eeecc3de 100644 --- a/weboob/browser/selenium.py +++ b/weboob/browser/selenium.py @@ -510,19 +510,19 @@ def do_on_load(page): try: if isinstance(page.is_here, CustomCondition): if page.is_here(self.driver): - self.logger.debug('Now on %s', page) + self.logger.debug('Handle %s with %s', self.url, type(page).__name__) self.save_response_if_changed() do_on_load(page) return page elif page.is_here(): - self.logger.debug('Now on %s', page) + self.logger.debug('Handle %s with %s', self.url, type(page).__name__) self.save_response_if_changed() do_on_load(page) return page except NoSuchElementException: pass - self.logger.debug('No matching page') + self.logger.debug('Unable to handle %s', self.url) def open(self, *args, **kwargs): # TODO maybe implement with a new window?