Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Target.TargetInfo
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { TargetInfo } = default.Target;

Properties

targetId: TargetID
type: string
title: string
url: string
attached: boolean

Whether the target has an attached client.

optional
openerId: TargetID

Opener target Id

canAccessOpener: boolean

Whether the target has access to the originating window.

optional
openerFrameId: Page.FrameId

Frame id of originating window (is only set if target has an opener).

optional
browserContextId: Browser.BrowserContextID