Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/puppeteer/mod.ts>IsolatedWorld#$$eval

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

Type Parameters

Selector extends string
Params extends unknown[]
optional
Func extends EvaluateFunc<[Array<NodeFor<Selector>>, ...Params]> = EvaluateFunc<[Array<NodeFor<Selector>>, ...Params]>

Parameters

selector: Selector
pageFunction: Func | string
...args: Params

Returns

Promise<Awaited<ReturnType<Func>>>