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

x/puppeteer/mod.ts>JSHandle#evaluateHandle

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

Evaluates the given function with the current handle as its first argument.

Type Parameters

Params extends unknown[]
optional
Func extends EvaluateFunc<[this, ...Params]> = EvaluateFunc<[this, ...Params]>

Parameters

pageFunction: Func | string
...args: Params

Returns

Promise<HandleFor<Awaited<ReturnType<Func>>>>