Skip to main content

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:

$ pip install pytest-firefox

Usage

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

def test_something(firefox):
    firefox.open_window()

This will open a new window.

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

Release files for pytest-firefox 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-firefox 0.2.0
File Size Uploaded
pytest_firefox-0.2.0.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-firefox 0.2.0
File Interpreter ABI Platform
pytest_firefox-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / pytest_firefox-0.2.0.tar.gz

Download URL pytest_firefox-0.2.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2a9671de14b2d5a0600a170e80a8d311043e6d1bb0b2f13bfa46ac32c0e9ba2b
BLAKE2b-256 checksum
How to use checksums
86a64daeebbb51768e93ebb1028622c2fbde31850abf6530661d162c0d52599c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / pytest_firefox-0.2.0-py3-none-any.whl

Download URL pytest_firefox-0.2.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83da4162716d7a828522dfc5d4aba74410763f1538605dbc00fa8da4dfc8b24d
BLAKE2b-256 checksum
How to use checksums
4c52b607ff1270142a877b3ae90c1dd2b4cca1b51725b3ec8adee71254acbca6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page