mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

This patch adds additional options to `toMatchSnapshot` method: - `pixelCount` - acceptable number of pixels that differ to still consider images equal. Unset by default. - `pixelRatio` - acceptable ratio of all image pixels (from 0 to 1) that differ to still consider images equal. Unset by default. Fixes #12167, #10219