puppeteer/docs/api/puppeteer.target.opener.md

292 B

sidebar_label
Target.opener

Target.opener() method

Get the target that opened this target. Top-level targets return null.

Signature:

class Target {opener(): Target | undefined;}

Returns:

Target | undefined