property ScriptResult.browserLogs

Everything the script printed — its console calls and any uncaught error — in emit order, whatever console option was passed. The same shape a test run reports, capped the same way.

Type

Usage

import { type ScriptResult } from "lib/api/run.ts";