method Page.prototype.screenshotimport { Page } from "https://dotland.deno.dev/x/fresh@1.7.2/tests/deps.ts"; screenshot(options?: ScreenshotOptions): Promise<Buffer | string>Parametersoptionaloptions: ScreenshotOptionsReturnsPromise<Buffer | string>Promise which resolves to buffer or a base64 string (depending on the value of encoding) with captured screenshot.