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

x/pptr/mod.ts>PuppeteerDeno#connect

Headless Chrome Deno API
Latest
method PuppeteerDeno.prototype.connect
import { PuppeteerDeno } 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.