Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class BrowserRunner
import { BrowserRunner } from "https://deno.land/x/pptr@1.2.0/src/BrowserRunner.ts";

Constructors

new
BrowserRunner(
executablePath: string,
processArguments: string[],
tempDirectory?: string,
)

Properties

private
_closed: boolean
private
_executablePath: string
private
_listeners
private
_processArguments: string[]
private
_processClosing: Promise<void>
private
optional
_tempDirectory: string
connection: Connection
proc: Deno.Process

Methods

close(): Promise<void>
kill(): void
setupConnection(options: { usePipe?: boolean; timeout: number; slowMo: number; preferredRevision: string; }): Promise<Connection>
start(options: LaunchOptions): void