TargetTarget.openerVersion: 21.4.1On this pageTarget.opener() methodGet the target that opened this target. Top-level targets return null.Signature:class Target { opener(): Target | undefined;}Returns:Target | undefined