mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/tests/vaultwarden: fix aarch64-linux compat (#516278)
This commit is contained in:
commit
33169bee6f
1 changed files with 5 additions and 2 deletions
|
|
@ -32,10 +32,11 @@ let
|
|||
}
|
||||
# python
|
||||
''
|
||||
|
||||
import shutil
|
||||
from selenium.webdriver.common.by import By
|
||||
from selenium.webdriver import Firefox
|
||||
from selenium.webdriver.firefox.options import Options
|
||||
from selenium.webdriver.firefox.service import Service
|
||||
from selenium.webdriver.support.ui import WebDriverWait
|
||||
from selenium.webdriver.support import expected_conditions as EC
|
||||
from selenium.common.exceptions import ElementClickInterceptedException
|
||||
|
|
@ -50,9 +51,11 @@ let
|
|||
continue
|
||||
|
||||
|
||||
service = Service(shutil.which("geckodriver"))
|
||||
|
||||
options = Options()
|
||||
options.add_argument('--headless')
|
||||
driver = Firefox(options=options)
|
||||
driver = Firefox(options=options, service=service)
|
||||
|
||||
driver.implicitly_wait(20)
|
||||
driver.get('https://localhost/#/signup')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue