puppeteer/docs/api/puppeteer.browser.disconnect.md
Maksim Sadym a66d029607
fix: end WebDriver BiDi session on disconnect (#11470)
Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-30 14:27:49 +00:00

20 lines
302 B
Markdown

---
sidebar_label: Browser.disconnect
---
# Browser.disconnect() method
Disconnects Puppeteer from this [browser](./puppeteer.browser.md), but leaves the process running.
#### Signature:
```typescript
class Browser {
abstract disconnect(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;