diff --git a/ipatests/test_webui/test_automount.py b/ipatests/test_webui/test_automount.py index 7b51390e0..29de0d10b 100644 --- a/ipatests/test_webui/test_automount.py +++ b/ipatests/test_webui/test_automount.py @@ -22,7 +22,10 @@ Automount tests """ from ipatests.test_webui.ui_driver import UI_driver, screenshot -from ipatests.test_webui.ui_driver import Keys +try: + from selenium.webdriver.common.keys import Keys +except ImportError: + pass import pytest LOC_ENTITY = 'automountlocation'