mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
d57b1044f2
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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)
|