Skip to main content
Module

x/astral/mod.ts

A high-level puppeteer/playwright-like library for Deno
Latest
import * as astral from "https://deno.land/x/astral@0.3.5/mod.ts";

Classes

The browser class is instantiated when you run the launch method.

Dialog provides an api for managing a page's dialog events.

ElementHandle represents an in-page DOM element.

Dialog provides an api for managing a page's dialog events.

Keyboard provides an api for managing a virtual keyboard. The high level api is Keyboard.type(), which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page.

The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.

Page provides methods to interact with a single tab in the browser

The Touchscreen class exposes touchscreen events.

Functions

Clean cache

Utility method to convert a base64 encoded string into a byte array

Get path for the binary for this OS. Downloads a browser if none is cached.

Launches a browser instance with given arguments and options when specified.

Utility method to retry an operation a number of times with a deadline

Utility method to wait until a websocket is ready