puppeteer/website/versioned_docs/version-21.6.1/api/puppeteer.browser.close.md

20 lines
283 B
Markdown
Raw Normal View History

---
sidebar_label: Browser.close
---
# Browser.close() method
Closes this [browser](./puppeteer.browser.md) and all associated [pages](./puppeteer.page.md).
#### Signature:
```typescript
class Browser {
abstract close(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;