No project description provided
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_firefox-0.2.0.tar.gz.
File metadata
- Download URL: pytest_firefox-0.2.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a9671de14b2d5a0600a170e80a8d311043e6d1bb0b2f13bfa46ac32c0e9ba2b
|
|
| MD5 |
67f1c702c7ca79dc3d795765689f622e
|
|
| BLAKE2b-256 |
86a64daeebbb51768e93ebb1028622c2fbde31850abf6530661d162c0d52599c
|
File details
Details for the file pytest_firefox-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pytest_firefox-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83da4162716d7a828522dfc5d4aba74410763f1538605dbc00fa8da4dfc8b24d
|
|
| MD5 |
a693d063e9b7836253842af4d83d66e6
|
|
| BLAKE2b-256 |
4c52b607ff1270142a877b3ae90c1dd2b4cca1b51725b3ec8adee71254acbca6
|