Visual testing for Capybara with Percy.
See the readme for updated install and usage instructions.
If you're upgrading from v4, make sure you read the upgrade guides: https://github.com/percy/percy-capybara#upgrading
current_session
Capybara
version
percy/capybara
require_relative
@percy/cli
evaluate_script
execute_script
You can now pass per-snapshot CSS that will only render in the Percy rendering env:
Percy.snapshot(page, { name: 'Home page', percy_css: "body { background-color: purple }" })
This requires @percy/agent v0.13.0+ to work
@percy/agent