Skip to main content
Module

x/carol/deps.ts>Target

A Deno port of carlo
Latest
class Target
import { Target } from "https://deno.land/x/carol@v1.1.4/deps.ts";

Constructors

new
Target(
targetInfo,
browserContext,
sessionFactory,
ignoreHTTPSErrors,
defaultViewport,
screenshotTaskQueue,
)

Methods

_targetInfoChanged(targetInfo)

Get the browser the target belongs to.

Get the browser context the target belongs to.

Creates a Chrome Devtools Protocol session attached to the target.

Get the target that opened this target. Top-level targets return null.

If the target is not of type "page" or "background_page", returns null.

Identifies what kind of target this is.

url()

If the target is not of type "service_worker" or "shared_worker", returns null.