13 buildPythonPackage rec {
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
21 # check if there is a newer tag with or without -python suffix
22 rev = "refs/tags/selenium-${version}";
23 hash = "sha256-K90CQYTeX9GKpP0ahxLx2HO5HG0P6MN7jeWmHtfiOns=";
27 substituteInPlace py/selenium/webdriver/firefox/service.py \
28 --replace 'DEFAULT_EXECUTABLE_PATH = "geckodriver"' 'DEFAULT_EXECUTABLE_PATH = "${geckodriver}/bin/geckodriver"'
35 propagatedBuildInputs = [
39 ] ++ urllib3.optional-dependencies.secure
40 ++ urllib3.optional-dependencies.socks;
47 testing-vaultwarden = nixosTests.vaultwarden;
51 description = "Bindings for Selenium WebDriver";
52 homepage = "https://selenium.dev/";
53 license = licenses.asl20;
54 maintainers = with maintainers; [ jraygauthier SuperSandro2000 ];