mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
18 lines
437 B
Markdown
18 lines
437 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Target](./puppeteer.target.md) > [opener](./puppeteer.target.opener.md)
|
||
|
|
||
|
## Target.opener() method
|
||
|
|
||
|
Get the target that opened this target. Top-level targets return `null`.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
opener(): Target | null;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
[Target](./puppeteer.target.md) \| null
|
||
|
|