[FEAT] - Capture - Add page.screenshot
API options to BackstopJS-configuration options
#89
Labels
Milestone
page.screenshot
API options to BackstopJS-configuration options
#89
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
page.emulateMedia
argument that doesn't ever seem to workcolorScheme
argument that also never seems to workThe text was updated successfully, but these errors were encountered: