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

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

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