17 buildPythonPackage rec {
21 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
28 rev = "refs/tags/${version}";
29 hash = "sha256-PGGql8yI1YosoUBAyDoI/8k7s4sVYnXEV7eow3GHH88=";
32 nativeBuildInputs = [ setuptools ];
34 propagatedBuildInputs = [ urllib3 ];
36 optional-dependencies = {
37 "zope.testbrowser" = [
52 selenium = [ selenium ];
57 ] ++ lib.flatten (lib.attrValues optional-dependencies);
60 # driver is present and fails with a different error during loading
61 "test_browser_local_driver_not_present"
62 "test_browser_log_missing_drivers"
63 "test_local_driver_not_present"
68 # We run neither Chromium nor Firefox nor ...
69 "tests/test_async_finder.py"
70 "tests/test_element_is_visible.py"
71 "tests/test_html_snapshot.py"
72 "tests/test_iframes.py"
73 "tests/test_mouse_interaction.py"
74 "tests/test_popups.py"
75 "tests/test_screenshot.py"
76 "tests/test_shadow_root.py"
77 "tests/test_webdriver.py"
78 "tests/test_webdriver_chrome.py"
79 "tests/test_webdriver_edge_chromium.py"
80 "tests/test_webdriver_firefox.py"
81 "tests/test_webdriver_remote.py"
84 pythonImportsCheck = [ "splinter" ];
87 changelog = "https://splinter.readthedocs.io/en/latest/news.html";
88 description = "Browser abstraction for web acceptance testing";
89 homepage = "https://github.com/cobrateam/splinter";
90 license = licenses.bsd3;
91 maintainers = with maintainers; [ dotlambda ];