percy-selenium
Python client for visual testing with Percy
Decision gist · record as of 2026-08-14
Yes, if you are already using Selenium for browser automation and want to add visual regression detection to your test suite. The low install friction, active maintenance, MIT license, and zero known vulnerabilities make it a straightforward addition. You will need to set up @percy/cli and obtain a Percy project token; without those, the package is present but inactive.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires @percy/cli to be installed via npm and PERCY_TOKEN environment variable set to upload snapshots; without these, snapshots are silently disabled.
- Low install friction with a pure-Python wheel.
- Actively maintained with a recent release; last commit on 2026-08-10 and production-stable status indicate ongoing support.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.
last release 2026-07-13 (32 days) · last repo commit 2026-08-10 · 12 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 132,718 downloads/mo, #11,540 on PyPI
Alternatives
Verify before relying
pip install percy-selenium
from percy import percy_snapshot
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://example.com')
percy_snapshot(browser, 'Python example')- Whether percy-selenium works with all Selenium driver types or only specific ones
- Performance impact of snapshot operations on test execution time
- Compatibility with headless browser modes and remote WebDriver instances
What it is and what it does
percy-selenium is a Python client that connects Selenium browser automation to Percy's visual testing service. It provides functions like percy_snapshot() and percy_screenshot() that capture the current state of a web page and send it to Percy for comparison against baseline images, flagging visual regressions when they occur.
The package wraps selenium and requests to communicate with Percy's infrastructure. It requires the @percy/cli Node package and a PERCY_TOKEN to function; without them, snapshot calls are no-ops. It supports both standard visual snapshots and Percy on Automate screenshots, with options for full-page capture, animated image freezing, region-based comparison, and selective element ignoring or consideration during diff analysis.
Use it for
- Detect unintended visual changes in UI components across browser versions or screen sizes
- Validate responsive design by capturing snapshots at different viewport dimensions
- Monitor visual consistency of marketing or public-facing pages after code deployments
- Automate screenshot comparison in CI/CD pipelines to catch layout or styling regressions
- Test visual appearance of dynamically generated content or third-party integrations
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Selenium for browser automation and want to add visual regression detection to your test suite.
The low install friction, active maintenance, MIT license, and zero known vulnerabilities make it a straightforward addition. You will need to set up @percy/cli and obtain a Percy project token; without those, the package is present but inactive.
Install
percy-selenium on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with a recent release; last commit on 2026-08-10 and production-stable status indicate ongoing support.
Requires @percy/cli to be installed via npm and PERCY_TOKEN environment variable set to upload snapshots; without these, snapshots are silently disabled.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.
Quickstart
pip install percy-selenium
from percy import percy_snapshot
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://example.com')
percy_snapshot(browser, 'Python example')
Verify before relying
- Whether percy-selenium works with all Selenium driver types or only specific ones
- Performance impact of snapshot operations on test execution time
- Compatibility with headless browser modes and remote WebDriver instances
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesseleniumrequests |
| Maintenance | Actively maintained 32 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 132,718 / month, #11,540 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: percy_selenium-2.2.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “percy python selenium integration”
- percy-seleniumIntegrates Percy visual testing into Python Selenium tests, capturing…
- percy-appium-appIntegrates Percy visual testing into Python Appium tests, capturing…
- axe-selenium-pythonIntegrates aXe accessibility testing with Selenium to automate web…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also lambdatest-selenium-driver · percy-appium-app · pytest-textual-snapshot · Selenium-Screenshot · eyes-selenium · pytest-playwright-visual · PyScreeze · selenium · browserstack-local · selenium-wire