Skip to main content
Module

x/puppeteer/mod.ts>Frame#evaluate

A port of puppeteer running on Deno
Latest
method Frame.prototype.evaluate
Re-export
import { Frame } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

Behaves identically to 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>>>