mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-10-05 10:37:35 +02:00
Make firefox headless
This commit is contained in:
parent
b861b7aa72
commit
98a6e4b9e2
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue