puppeteer/docs/api/puppeteer.browser.disconnect.md

385 B

sidebar_label
Browser.disconnect

Browser.disconnect() method

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.

Signature:

class Browser {disconnect(): void;}

Returns:

void