{"id":45926,"library":"pytest-splinter","title":"pytest-splinter","description":"A pytest plugin that integrates the Splinter browser automation library, enabling acceptance testing with multiple browser drivers (Selenium, PhantomJS, etc.) using pytest fixtures. Current version 3.3.2 is stable but in maintenance mode, with infrequent releases.","status":"maintenance","version":"3.3.2","language":"python","source_language":"en","source_url":"https://github.com/pytest-dev/pytest-splinter","tags":["pytest","splinter","browser testing","acceptance testing"],"install":[{"cmd":"pip install pytest-splinter","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"Core dependency for browser automation","package":"splinter","optional":false},{"reason":"Testing framework","package":"pytest","optional":false}],"imports":[{"note":"Splinter's own Browser can conflict with pytest fixture; use the fixture instead.","wrong":"from splinter import Browser","symbol":"browser","correct":"pytest.mark.usefixtures('browser') or def test(browser):"}],"quickstart":{"code":"import pytest\n\ndef test_google(browser):\n    browser.visit('https://www.google.com')\n    assert browser.is_text_present('Google')\n","lang":"python","description":"Basic test using the `browser` fixture provided by pytest-splinter."},"warnings":[{"fix":"Use Python 3.6+ and pytest >=3.0.","message":"pytest-splinter 3.x dropped support for Python 2.7 and older pytest versions. Ensure Python 3.6+ and pytest 3.0+.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Rename fixture from `splinter_driver_kwargs` to `browser_driver_kwargs`.","message":"The `splinter_driver_kwargs` fixture is deprecated in favor of `browser_driver_kwargs`.","severity":"deprecated","affected_versions":">=3.1.0"},{"fix":"Set pytest.ini: `splinter_webdriver = chrome` or implement a custom `browser_instance` fixture.","message":"The `browser` fixture uses the default Splinter driver (usually `firefox`). To use a different driver, set `splinter_webdriver` in pytest.ini or override the `browser_instance` fixture.","severity":"gotcha","affected_versions":"all"},{"fix":"Explicitly request the `browser` fixture in your test function parameters.","message":"In pytest-splinter 3.x, the `browser` fixture no longer starts a browser for tests that don't explicitly use it; you must include it as a parameter. Previously it was autouse.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'3.3.2':29 'accept':15,43 'autom':12 'browser':11,19,41 'current':27 'driver':20 'enabl':14 'etc':23 'fixtur':26 'infrequ':37 'integr':8 'librari':13 'mainten':34 'mode':35 'multipl':18 'phantomj':22 'plugin':6 'pytest':2,5,25,39 'pytest-splint':1 'releas':38 'selenium':21 'splinter':3,10,40 'stabl':31 'test':16,42,44 'use':24 'version':28","created_at":"2026-06-07T12:57:25.316244+00:00","updated_at":"2026-06-07T12:57:25.316244+00:00","problems":{"verify_error":"no import statement found"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/pytest-dev/pytest-splinter","github":"https://github.com/pytest-dev/pytest-splinter","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"skip","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-06","install_tag":null}}