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

x/pptr/mod.ts>Browser#disconnect

Headless Chrome Deno API
Latest
method Browser.prototype.disconnect
Re-export
import { Browser } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Disconnects Puppeteer from the browser, but leaves the Chromium process running. After calling disconnect, the Browser object is considered disposed and cannot be used anymore.