Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Use Frame.$$ with the xpath prefix.

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

import { Frame } from "https://deno.land/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>>>