import { Browser } from "https://deno.land/x/astral@0.3.5/src/browser.ts";
The browser class is instantiated when you run the launch
method.
Constructors
Properties
readonly
pages: Page[]Methods
close()
Closes the browser and all of its pages (if any were opened). The Browser object itself is considered to be disposed and cannot be used anymore.
newPage(url?: string, options?: WaitForOptions & SandboxOptions): Promise<Page>
Promise which resolves to a new Page
object.