Skip to main content
Module

x/puppeteer/mod.ts>ElementHandle#$x

A port of puppeteer running on Deno
Latest
method ElementHandle.prototype.$x
Re-export
Deprecated
Deprecated

Use ElementHandle.$$ with the xpath prefix.

The method evaluates the XPath expression relative to the elementHandle. If there are no such elements, the method will resolve to an empty array.

import { ElementHandle } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

Parameters

expression: string

Returns

Promise<Array<ElementHandle<any>>>