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

x/pptr/src/Target.ts>Target#type

Headless Chrome Deno API
Latest
method Target.prototype.type
import { Target } from "https://deno.land/x/pptr@1.2.0/src/Target.ts";

Identifies what kind of target this is.

Returns

| "page"
| "background_page"
| "service_worker"
| "shared_worker"
| "other"
| "browser"
| "webview"