import { ChromeTargetManager } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
ChromeTargetManager uses the CDP's auto-attach mechanism to intercept new targets and allow the rest of Puppeteer to configure listeners while the target is paused.
Methods
addTargetInterceptor(session: CDPSession | Connection, interceptor: TargetInterceptor): void
dispose(): void
getAvailableTargets(): Map<string, Target>
initialize(): Promise<void>
removeTargetInterceptor(client: CDPSession | Connection, interceptor: TargetInterceptor): void