Skip to main content
Help us improve Python packaging – 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.

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 history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest_firefox-0.1.1-py2.py3-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 8, 2017
pytest-firefox-0.1.1.tar.gz (7.4 kB) Copy SHA256 hash SHA256 Source None Aug 8, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page