Skills
Let agents smoke-test a web app in a zero-opacity iframe: datasette-apps 0.2a0 ships app_debug() for invisible in-browser verification
Released 1 August 2026, datasette-apps 0.2a0 adds an `app_debug()` tool that opens an app in an iframe styled `opacity: 0; pointer-events: none` and executes agent-supplied JavaScript inside it, so the agent can run smoke tests, inspect the DOM, and measure element dimensions without a visible browser session interfering. It builds on the `context.browser_task()` mechanism introduced in datasette-agent 0.4a0. The transferable pattern for anyone building agent harnesses: an invisible, non-interactive sandboxed frame plus arbitrary JS gives you programmatic UI verification far cheaper than driving a full browser automation stack, and closes the loop on changes only a rendered page can confirm.
↳ Follow the thread