12 (lib.importJSON ../../../../applications/networking/browsers/chromium/info.json).chromium;
14 # See ./source.nix for Linux
18 hash = upstream-info.chromedriver.hash_darwin;
23 hash = upstream-info.chromedriver.hash_darwin_aarch64;
28 allSpecs.${stdenv.hostPlatform.system}
29 or (throw "missing chromedriver binary for ${stdenv.hostPlatform.system}");
31 inherit (upstream-info) version;
34 pname = "chromedriver";
38 url = "https://storage.googleapis.com/chrome-for-testing-public/${version}/${spec.system}/chromedriver-${spec.system}.zip";
42 nativeBuildInputs = [ unzip ];
45 install -m555 -D "chromedriver" $out/bin/chromedriver
48 passthru.tests.version = testers.testVersion { package = chromedriver; };
51 homepage = "https://chromedriver.chromium.org/";
52 description = "WebDriver server for running Selenium tests on Chrome";
54 WebDriver is an open source tool for automated testing of webapps across
55 many browsers. It provides capabilities for navigating to web pages, user
56 input, JavaScript execution, and more. ChromeDriver is a standalone
57 server that implements the W3C WebDriver standard.
59 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
60 license = licenses.bsd3;
61 maintainers = with maintainers; [ primeos ];
62 # Note from primeos: By updating Chromium I also update Google Chrome and
64 platforms = platforms.darwin;
65 mainProgram = "chromedriver";