puppeteer/docs/api/puppeteer.browser.target.md
2023-09-18 11:05:23 +02:00

20 lines
331 B
Markdown

---
sidebar_label: Browser.target
---
# Browser.target() method
Gets the [target](./puppeteer.target.md) associated with the [default browser context](./puppeteer.browser.defaultbrowsercontext.md)).
#### Signature:
```typescript
class Browser {
abstract target(): Target;
}
```
**Returns:**
[Target](./puppeteer.target.md)