electron-agent-bridge
    Preparing search index...

    A page the runtime knows about, with the transport that reaches it (if attached).

    interface TargetDescriptor {
        area?: number;
        focused: boolean;
        id: string;
        kind:
            | "window"
            | "view"
            | "webview"
            | "other"
            | "worker"
            | "serviceWorker"
            | "offscreen";
        loading?: boolean;
        nameHint?: string;
        ownerId?: string;
        stack?: number;
        title: string;
        transport: CdpTransport;
        url: string;
        visible?: boolean;
    }

    Hierarchy (View Summary)

    Index
    area?: number

    Pixels of its window's content area it shows in (0 when hidden in it), even while the window is hidden.

    focused: boolean

    Whether this target currently has user focus. Used to pick a default target.

    id: string
    kind:
        | "window"
        | "view"
        | "webview"
        | "other"
        | "worker"
        | "serviceWorker"
        | "offscreen"
    loading?: boolean

    Still loading: its title may not be final, so derived names are not frozen yet.

    nameHint?: string

    A name the app chose for this page; wins over every derived name.

    ownerId?: string

    The target id of the window that hosts it (itself for a window's own page).

    stack?: number

    Paint order in its window: 0 is the window's own page, higher is drawn above.

    title: string
    transport: CdpTransport
    url: string
    visible?: boolean

    On screen: its window shown, its view visible and sized. Unknown when absent.