Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/src/JSHandle.ts>ElementHandle#$x

Headless Chrome Deno API
Latest
method ElementHandle.prototype.$x
import { ElementHandle } from "https://deno.land/x/pptr@1.2.0/src/JSHandle.ts";

The method evaluates the XPath expression relative to the elementHandle. If there are no such elements, the method will resolve to an empty array.

Parameters

expression: string