Skip to main content
Module

x/puppeteer/mod.ts>Puppeteer

A port of puppeteer running on Deno
Latest
class Puppeteer
import { Puppeteer } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

The main Puppeteer class.

IMPORTANT: if you are using Puppeteer in a Node environment, you will get an instance of PuppeteerNode when you import or require puppeteer. That class extends Puppeteer, so has all the methods documented below as well as all that are defined on PuppeteerNode.

Constructors

new
Puppeteer(settings: CommonPuppeteerSettings)

Properties

protected
_changedProduct: boolean
protected
_isPuppeteerCore: boolean
deprecated
readonly
devices: devices
deprecated
readonly
errors: errors
deprecated
readonly
networkConditions: networkConditions

Methods

deprecated
clearCustomQueryHandlers(): void
connect(options: ConnectOptions): Promise<Browser>

This method attaches Puppeteer to an existing browser instance.

deprecated
customQueryHandlerNames(): string[]
deprecated
registerCustomQueryHandler(name: string, queryHandler: CustomQueryHandler): void
deprecated
unregisterCustomQueryHandler(name: string): void