mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
331 B
Markdown
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)
|