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

x/pptr/src/Browser.ts>Browser#close

Headless Chrome Deno API
Latest
method Browser.prototype.close
import { Browser } from "https://deno.land/x/pptr@1.2.0/src/Browser.ts";

Closes Chromium and all of its pages (if any were opened). The Browser object itself is considered to be disposed and cannot be used anymore.

Returns

Promise<void>