The page the suite runs in — unstable, playwright-core's type.
import type { WatchSession } from './watch.ts';
// Defined, not invoked: needs a live session.
async function shoot(session: WatchSession) {
return await session.page.screenshot();
}
Type
Page
Usage
import { type WatchSession } from "lib/api/watch.ts";