diff --git a/scripts/install_package.cmd b/scripts/install_package.cmd index 78749532..e95a1186 100644 --- a/scripts/install_package.cmd +++ b/scripts/install_package.cmd @@ -13,5 +13,5 @@ taskkill /f /im chromedriver.exe echo ------------------------- echo Installing project... echo ------------------------- -pip install -U dist/tir_framework-1.20.30rc1.tar.gz +pip install -U dist/tir_framework-1.20.30rc2.tar.gz pause >nul | set/p = Press any key to exit ... diff --git a/tir/technologies/core/logging_config.py b/tir/technologies/core/logging_config.py index f1338c97..eba52db8 100644 --- a/tir/technologies/core/logging_config.py +++ b/tir/technologies/core/logging_config.py @@ -179,6 +179,7 @@ def configure_logger(): dictConfig(logging_config) _logger = logging.getLogger(logger_profile) + _logger.propagate = False def logger(): global _logger diff --git a/tir/technologies/webapp_internal.py b/tir/technologies/webapp_internal.py index 458e3b94..ffcb114e 100644 --- a/tir/technologies/webapp_internal.py +++ b/tir/technologies/webapp_internal.py @@ -1225,14 +1225,14 @@ def close_modal(self): except: pass - def check_screen_element(self, term="", selector=None, scraptype=enum.ScrapType.MIXED): + def check_screen_element(self, term="", selector=None, scraptype=enum.ScrapType.MIXED, check_error=True): """ [Internal] This method checks if the screen element is displayed. """ - element_exists = True if self.element_exists(term=term, scrap_type=scraptype, optional_term=selector, main_container="body") else False + element_exists = True if self.element_exists(term=term, scrap_type=scraptype, optional_term=selector, main_container="body", check_error=check_error) else False logger().debug(f'Checking screen element: "{term}": {element_exists}') @@ -1341,7 +1341,7 @@ def check_news_screen(self): """ selector = self.news_screen_selectors() - return self.check_screen_element(term=self.language.news, selector=selector) + return self.check_screen_element(term=self.language.news, selector=selector, check_error=False) def check_screen(self): """ diff --git a/tir/version.py b/tir/version.py index 092b3759..5cf6bba4 100644 --- a/tir/version.py +++ b/tir/version.py @@ -1 +1 @@ -__version__ = '1.20.30rc1' +__version__ = '1.20.30rc2'