Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

pytest plugin to manipulate firefox

Project description

pytest-firefox is a plugin for pytest that provides support for running FoxPuppet to control Firefox Web Browser within a test.


You will need the following prerequisites in order to use pytest-firefox:

  • Python 2.7, 3.6
  • pytest 3.0 or newer


To install pytest-firefox:

$ pip install pytest-firefox


To use pytest-firefox with your tests simply specify firefox as a fixture to your test.

def test_something(firefox):

This will open a new window.

pytest-firefox also creates a default Selenium WebDriver object named selenium.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytest-firefox, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pytest_firefox-0.1.1-py2.py3-none-any.whl (4.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pytest-firefox-0.1.1.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page