Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method JSHandle.prototype.evaluateHandle
Re-export
import { JSHandle } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/types.d.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>>>>