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

x/puppeteer/mod.ts>JSHandle#getProperty

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

Fetches a single property from the referenced object.

Type Parameters

K extends keyof T

Parameters

propertyName: HandleOr<K>

Returns

Promise<HandleFor<T[K]>>

Parameters

propertyName: string

Returns

Promise<JSHandle<unknown>>