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

x/pptr/mod.ts>Browser#close

Headless Chrome Deno API
Latest
method Browser.prototype.close
Re-export
import { Browser } from "https://deno.land/x/pptr@1.2.0/mod.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>