playwright
playwright copied to clipboard
[Feature] Global mask for images
Allow to global mask elements in config and inside test in test.use
Sometimes it's useful while there are changes being made to the site to mask new elements ect, that you can update in the future, instead of masking elements at each individual snapshot step.
Then we can just call update-snapshots to update the baseline images with the new global masking we want applied.