Skip to main content

A pytest package implementing perceptualdiff for Selenium tests.

Project description

# pytest-selenium-pdiff

[![Current Version](]( [![Build Status](](

A pytest package implementing perceptualdiff for Selenium tests.

## Features * Embeds screenshots in [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]( 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]( 1. run make release to push the new code to PyPi


0.1.0 (2016-06-02)

  • First release on PyPI.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


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_selenium_pdiff-0.4.0-py2.py3-none-any.whl (8.3 kB) Copy SHA256 hash SHA256 Wheel 3.5 Apr 6, 2017
pytest-selenium-pdiff-0.4.0.tar.gz (15.6 kB) Copy SHA256 hash SHA256 Source None Apr 6, 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