Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] - Capture - Add page.screenshot API options to BackstopJS-configuration options #89

Open
dgrebb opened this issue Jan 5, 2024 · 0 comments

Comments

@dgrebb
Copy link
Owner

dgrebb commented Jan 5, 2024

Summary

Problem

Reducing motion is a very necessary challenge when taking screen shots. The Playwright screenshot API has a parameter, animation, that could be used to achieve faster capture.

Page-level APIs aren't currently exposed, so this cannot currently be added by Backstop configuration.

Solution

Add a configuration API for page-level function params that can be processed and passed into the Puppeteer and Playwright runners.

Notes

@dgrebb dgrebb added this to the Core Enhancements milestone Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant