STRΛTΛ19
Tools

strata19.capture_browser_evidence

Expert tool

What it does

Drives a real headless Chromium session (Playwright) to one URL, captures a screenshot and (optionally) a CSS-selector DOM assertion, then attaches that evidence to a real Verification Request against a work item (acceptance verification-requests.ts, task 15.23) — the request dispatches through the same acceptance spine the done-gate uses, so the resulting attempt is real, immutable evaluation evidence, never a narrative screenshot description. Playwright is an OPTIONAL dependency that an installed plugin does not bundle: when it does not resolve, the call returns { available: false, reason } and attaches nothing — report that, do not retry.

When to use it

Use when: "take a screenshot of this page and record it as evidence" · "prove this UI change actually rendered" · "does this element exist on the page" · "attach browser proof to this work item"

Also use when: closing out a UI-touching work item's acceptance with real rendered evidence rather than a claim

When not to use it

the work item is not currently "building" (requestVerification refuses a non-active target); you only need to READ the page's content, not attach it as verification evidence — use a plain fetch/read instead HUMAN ONLY (authority table): when url names a host other than this machine (http, https, ws or wss to a non-loopback host). These need a person's gestureToken; assistant calls are refused (requires_human). Ask the person.

Availability

TierExpert
LifecycleLive
Taught byno packaged skill teaches this tool