Latest
method Frame.prototype.$x
Deprecated
Deprecated

Use {@link Frame.$$} with the xpath prefix.

This method evaluates the given XPath expression and returns the results.

import { Frame } from "https://dotland.deno.dev/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Frame.js";

Parameters

expression: string
  • the XPath expression to evaluate.

Returns

Promise<Array<ElementHandle<any>>>