Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Target

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
namespace Protocol.Target
import { Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { Target } = Protocol;

Supports additional targets discovery and allows to attach to them.

Interfaces

Issued when attached to target because of auto-attach or attachToTarget command.

Issued when detached from target for any reason (including detachFromTarget command). Can be issued multiple times per target if multiple sessions have been attached to it.

A filter used by target query/discovery/auto-attach operations.

Notifies about a new protocol message received from the session (as reported in attachedToTarget event).

Issued when a target has crashed.

Issued when a possible inspection target is created.

Issued when a target is destroyed.

Issued when some information about a target has changed. This only happens between targetCreated and targetDestroyed.

Type Aliases

Unique identifier of attached debugging session.

The entries in TargetFilter are matched sequentially against targets and the first entry that matches determines if the target is included or not, depending on the value of exclude field in the entry. If filter is not specified, the one assumed is [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}] (i.e. include everything but browser and tab).