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

x/pptr/mod.ts>Puppeteer#connect

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

This method attaches Puppeteer to an existing browser instance.

Parameters

  • Set of configurable options to set on the browser.

Returns

Promise<Browser>

Promise which resolves to browser instance.