Latest
method ElementHandle.prototype.$x
Deprecated
Deprecated

Use {@link 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://dotland.deno.dev/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/types.d.ts";

Parameters

expression: string

Returns

Promise<Array<ElementHandle<any>>>