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

x/pptr/mod.ts>Target#type

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

Identifies what kind of target this is.

Returns

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