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

x/fresh/tests/deps.ts>Page#$x

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.$x
Re-export
import { Page } from "https://deno.land/x/fresh@1.4.1/tests/deps.ts";

The method evaluates the XPath expression relative to the page document as its context node. If there are no such elements, the method resolves to an empty array.

Parameters

expression: string
  • Expression to evaluate

Returns

Promise<Array<ElementHandle<any>>>