Repository navigation
LayoutLens 4 adds stateful interaction testing and local Chromium, Firefox, and WebKit support.
Run keyboard, form, hover, click, drag, pointer, navigation, and responsive sequences in one browser context. Named checkpoints retain RenderState artifacts; reports record focus transitions, events, hit-test samples, and explicit expectation failures. The CLI, pytest fixture, MCP server, and SARIF exporter expose the same evidence.
Browser, viewport, media preferences, locale, timezone, and device scale factor are part of capture identity. Keep a separate baseline for each browser. Native accessibility-tree and matched CSS/source-map attribution remain Chromium-specific. Automatic interaction candidates warn by default; explicit expectations define the behavior required to pass.
Upgrade:
- Python 3.12+ and Playwright 1.49+ are required.
- Install the engines you use with
playwright install chromium firefox webkit. - RenderState now uses schema 2. Recapture schema 1 baselines before comparing with LayoutLens 4.
- LayoutLens Action v3 pins this release; Action v2 remains on LayoutLens 3.