Latest
method Frame.prototype.evaluate
import { Frame } from "https://dotland.deno.dev/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/types.d.ts";

Behaves identically to {@link Page.evaluate} except it's run within the the context of this frame.

Type Parameters

Params extends unknown[]
optional
Func extends EvaluateFunc<Params> = EvaluateFunc<Params>

Parameters

pageFunction: Func | string
...args: Params

Returns

Promise<Awaited<ReturnType<Func>>>