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

x/pptr/mod.ts>ElementHandle#$x

Headless Chrome Deno API
Latest
method ElementHandle.prototype.$x
Re-export
import { ElementHandle } from "https://deno.land/x/pptr@1.2.0/mod.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