What problem does it solve? Playwright tests break when pages use dynamically generated CSS classes, canvas/WebGL content, or embedded PDFs with no stable DOM selectors. This Skill provides image-based locators that find elements by their visual appearance using OpenCV template matching, so tests can interact with what the user actually sees. ## Core Features & Use Cases - Image-Based Interaction: Click, type, highlight, and wait for UI elements using PNG template screenshots via functions like clickByImage, typeByImage, waitForImage, and locateByImage. - Region Narrowing & Click Offsets: Restrict searches to named viewport presets or custom rectangles to eliminate ambiguity, and shift click points from label to input field with clickOffset. - Hybrid Vision + DOM Fallback: Use clickByImageOr and typeByImageOr to try vision matching first and fall back to DOM selectors automatically, including on the Lightpanda browser. - Use Case: Migrating a Sakuli/SikuliX image-driven test suite to Playwright, where login forms and buttons are located by cropped screenshots captured inside the container at a fixed 1280x720 baseline. ## Quick Start Write a Playwright test that imports vision from check-cep-vision and clicks a button using a template image saved in the test's assets directory with the region set to main.