# pytest-firefox **Repository Path**: mirrors_mozilla/pytest-firefox ## Basic Information - **Project Name**: pytest-firefox - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-16 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README pytest-firefox =============== pytest-firefox is a plugin for `pytest `_ that provides support for running `FoxPuppet `_ to control `Firefox Web Browser `_ within a test. Requirements ------------ You will need the following prerequisites in order to use pytest-firefox: - Python 2.7, 3.6 - pytest 3.0 or newer Installation ------------ To install pytest-firefox: .. code-block:: bash $ pip install pytest-firefox Usage ----- To use pytest-firefox with your tests simply specify ``firefox`` as a fixture to your test. .. code-block:: python def test_something(firefox): firefox.open_window() This will open a new window. ``pytest-firefox`` also creates a default Selenium WebDriver object named ``selenium``.