puppeteer/website/versioned_docs/version-22.6.3/api/puppeteer.browser.target.md

20 lines
331 B
Markdown
Raw Normal View History

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