ui-visual-assert
Add visual regression, cross-browser compatibility and responsive layout testing capabilities to enhanced Playwright + POM + Pytest UI test scripts. Uses pixelmatch + Pillow to implement pixel-level screenshot comparison (pure Python solution), supporting dynamic-region masking, element-level screenshot assertions, multi-viewport adaptation and tolerance for engine differences across Chromium/Firefox/WebKit. Trigger this skill for scenarios such as visual regression testing, screenshot comparison, UI appearance verification, cross-browser testing, multi-browser compatibility, responsive testing, multi-viewport testing, mobile adaptation testing, visual snapshots, pixel comparison, baseline updates, visual-difference detection and page deformation detection. Even if the user only says things like “the page was redesigned — check for distortion,” “are styles consistent across browsers?” or “is the mobile layout correct?”, this capability should be used.