Python client for visual testing with Percy. Integrates with Selenium to capture screenshots and perform visual regression testing via Percy's cloud service. Current version 2.1.4, supports Python >=3.6, and is maintained by BrowserStack.
pip install percy-seleniumVerified import paths — ran on the pinned version, not inferred.
Captures a visual snapshot of the current page using the Percy SDK.
Update imports to `from percy_selenium import Percy`. Replace `desired_capabilities` with `options`.
Set `PERCY_TOKEN` to your project's token from the Percy dashboard.
Use `percy.snapshot('name', wait=True)` or call `percy.flush()` after all snapshots.