Make firefox headless

This commit is contained in:
Gabriel Augendre 2023-03-25 20:28:15 +01:00
parent b861b7aa72
commit 98a6e4b9e2

View file

@ -13,6 +13,12 @@ def live_server(settings, live_server):
return live_server
@pytest.fixture()
def firefox_options(firefox_options):
firefox_options.add_argument("-headless")
return firefox_options
@pytest.fixture()
def selenium(selenium):
selenium.implicitly_wait(3)