puppeteer/docs/api/puppeteer.browser.close.md

20 lines
283 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Browser.close
---
# Browser.close() method
2023-09-18 09:05:23 +00:00
Closes this [browser](./puppeteer.browser.md) and all associated [pages](./puppeteer.page.md).
2022-07-05 13:41:43 +00:00
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Browser {
2023-09-18 09:05:23 +00:00
abstract close(): Promise<void>;
2022-07-05 13:41:43 +00:00
}
```
**Returns:**
Promise&lt;void&gt;