diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py index 5994dcf8c..0ecc38e78 100644 --- a/ipatests/test_webui/ui_driver.py +++ b/ipatests/test_webui/ui_driver.py @@ -1056,7 +1056,7 @@ class UI_driver: # Chrome does not close search area on click if list_cnt.is_displayed(): - self.driver.switch_to_active_element().send_keys(Keys.RETURN) + self.driver.switch_to.active_element.send_keys(Keys.RETURN) self.wait()