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

x/pptr/mod.ts>DOMWorld#$$eval

Headless Chrome Deno API
Latest
method DOMWorld.prototype.$$eval
Re-export
import { DOMWorld } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Type Parameters

ReturnType

Parameters

selector: string
pageFunction: (elements: Element[], ...args: unknown[]) => ReturnType | Promise<ReturnType>