diff --git a/automon/integrations/seleniumWrapper/tests/test_browser_headless.py b/automon/integrations/seleniumWrapper/tests/test_browser_headless.py index ae5b4d0c..9c7fe14d 100644 --- a/automon/integrations/seleniumWrapper/tests/test_browser_headless.py +++ b/automon/integrations/seleniumWrapper/tests/test_browser_headless.py @@ -3,7 +3,7 @@ from automon.integrations.seleniumWrapper.browser import SeleniumBrowser browser = SeleniumBrowser() -browser.config.set_webdriver.Chrome().enable_defaults() +browser.config.set_webdriver.Chrome().enable_defaults().enable_headless() class SeleniumClientTest(unittest.TestCase): diff --git a/automon/integrations/seleniumWrapper/tests/test_browser_useragent.py b/automon/integrations/seleniumWrapper/tests/test_browser_useragent.py index 957df4cc..1e454c5c 100644 --- a/automon/integrations/seleniumWrapper/tests/test_browser_useragent.py +++ b/automon/integrations/seleniumWrapper/tests/test_browser_useragent.py @@ -3,7 +3,7 @@ from automon.integrations.seleniumWrapper.browser import SeleniumBrowser browser = SeleniumBrowser() -browser.config.set_webdriver.Chrome().enable_defaults() +browser.config.set_webdriver.Chrome().enable_defaults().enable_headless() agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:112.0) Gecko/20100101 Firefox/112.0' diff --git a/automon/integrations/seleniumWrapper/tests/test_new_browser.py b/automon/integrations/seleniumWrapper/tests/test_new_browser.py index d5a30e90..41056b70 100644 --- a/automon/integrations/seleniumWrapper/tests/test_new_browser.py +++ b/automon/integrations/seleniumWrapper/tests/test_new_browser.py @@ -3,7 +3,7 @@ from automon.integrations.seleniumWrapper.browser import SeleniumBrowser browser = SeleniumBrowser() -browser.config.set_webdriver.Chrome().enable_defaults() +browser.config.set_webdriver.Chrome().enable_defaults().enable_headless() class SeleniumClientTest(unittest.TestCase):