<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Target](./puppeteer.target.md) &gt; [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

