Module

x/puppeteer/vendor/puppeteer-core/puppeteer/types.d.ts>Frame#$x

A port of puppeteer running on Deno
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/types.d.ts";

Parameters

expression: string
  • the XPath expression to evaluate.

Returns

Promise<Array<ElementHandle<any>>>