Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method ElementHandle.prototype.$x
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/vendor/puppeteer-core/puppeteer/common/ElementHandle.d.ts";

Parameters

expression: string

Returns

Promise<Array<ElementHandle<any>>>