# pytest-selenium-pdiff
[](https://pypi.python.org/pypi/pytest-selenium-pdiff) [](https://circleci.com/gh/rentlytics/pytest-selenium-pdiff)
A pytest package implementing perceptualdiff for Selenium tests.
Free software: MIT license
Documentation: https://pytest-selenium-pdiff.readthedocs.org.
## Features * Embeds screenshots in [pytest-html](https://pypi.python.org/pypi/pytest-html) reports * Supports ImageMagick or perceptualdiff for image comparison.
## Use with pytest-html and pytest-selenium By default pytest-selenium will embed a screenshot depicting the current browser state. This will lead to a duplicated screenshot because of this plugin’s behavior. At this time the best way to exclude the pytest-selenium screenshot is to set the environment variable SELENIUM_EXCLUDE_DEBUG=screenshot.
## Working With This Repo ### Setup 1. Set up and activate [virtual environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/) in the repo by running: virtualenv venv and then source venv/bin/activate 1. Run pip install -r requirements_dev.txt 1. Install PhantomJS with brew install phantomjs 1. Run tox to run the tests for the repo
### Making a release For Rentlytics employees, to release new code for the pytest-selenium-pdiff project to pypi, follow these steps:
1. run bumpversion to bump the version 1. make sure there is a file in the home directory ~/.pypirc with the login credentials for PyPi. For more about how to upload to PyPi, see [this link](http://peterdowns.com/posts/first-time-with-pypi.html) 1. run make release to push the new code to PyPi
History
0.1.0 (2016-06-02)
First release on PyPI.
Metadata
Release files for pytest-selenium-pdiff 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest-selenium-pdiff-0.4.0.tar.gz | 15.6 kB | Without provenance | Details for pytest-selenium-pdiff-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_selenium_pdiff-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pytest_selenium_pdiff-0.4.0-py2.py3-none-any.whl |
Total release size: 23.9 kB
Release files / pytest-selenium-pdiff-0.4.0.tar.gz
| Download URL | pytest-selenium-pdiff-0.4.0.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ef04ed2dac637bc5ce871d7df149c8c3518b4f45a8049906d0ba989aade6d11
|
|
BLAKE2b-256 checksum How to use checksums |
e0d7def66dd4588ee08ce8dfc59c36cd740962d03b6fd860987a34b9d4d36fd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_selenium_pdiff-0.4.0-py2.py3-none-any.whl
| Download URL | pytest_selenium_pdiff-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
393ab8dc693a5beb779f50f5ff1b70d0878207ac66f41a8b490228be9d3c9fc3
|
|
BLAKE2b-256 checksum How to use checksums |
c8b2092e09b7ae1f21cfe2f045115eb1d1abc9c2ca6121f2d239df1f6b5f4360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-selenium-pdiff 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.