Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Target.TargetInfo

Headless Chrome Deno API
Latest
interface Protocol.Target.TargetInfo
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { TargetInfo } = Protocol.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