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

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

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

The method runs document.querySelectorAll within the page. If no elements match the selector, the return value resolves to [].

Type Parameters

Selector extends string

Parameters

selector: Selector
  • A selector to query page for

Returns

Promise<Array<ElementHandle<NodeFor<Selector>>>>