diff --git a/cfme/utils/appliance/implementations/common.py b/cfme/utils/appliance/implementations/common.py index 45c1148b77..0598241868 100644 --- a/cfme/utils/appliance/implementations/common.py +++ b/cfme/utils/appliance/implementations/common.py @@ -35,7 +35,7 @@ def get_alert(self): return None try: - return self.selenium.switch_to_alert() + return self.selenium.switch_to.alert() except NoAlertPresentException: modal = self._modal_alert return modal if modal.is_displayed else None diff --git a/cfme/utils/appliance/implementations/ssui.py b/cfme/utils/appliance/implementations/ssui.py index 1d52ac8894..6198d1710f 100644 --- a/cfme/utils/appliance/implementations/ssui.py +++ b/cfme/utils/appliance/implementations/ssui.py @@ -184,7 +184,7 @@ def go(self, _tries=0, *args, **kwargs): except NotImplementedError: nav_args['wait_for_view'] = 0 self.log_message( - "is_displayed not implemented for {} view".format(self.VIEW or ""), level="warn") + "is_displayed not implemented for {} view".format(self.VIEW or ""), level="warning") except Exception as e: self.log_message( f"Exception raised [{e}] whilst checking if already here", level="error") diff --git a/cfme/utils/appliance/implementations/ui.py b/cfme/utils/appliance/implementations/ui.py index 0e36fdf6ce..b39cdfae8c 100644 --- a/cfme/utils/appliance/implementations/ui.py +++ b/cfme/utils/appliance/implementations/ui.py @@ -561,7 +561,7 @@ def go(self, _tries=0, *args, **kwargs): except NotImplementedError: nav_args['wait_for_view'] = 0 self.log_message( - "is_displayed not implemented for {} view".format(self.VIEW or ""), level="warn") + "is_displayed not implemented for {} view".format(self.VIEW or ""), level="warning") except Exception as e: self.log_message( f"Exception raised [{e}] whilst checking if already here", level="error")