Files

1.6 KiB

sidebar_label
sidebar_label
Process

Process class

Signature

export declare class Process

Constructors

Constructor

Modifiers

Description

(constructor)(opts)

Constructs a new instance of the Process class

Properties

Property

Modifiers

Type

Description

nodeProcess

readonly

childProcess.ChildProcess

Methods

Method

Modifiers

Description

close()

getRecentLogs()

Get recent logs (stderr + stdout) emitted by the browser.

hasClosed()

kill()

Kills the browser process without running any hooks.

waitForLineOutput(regex, timeout)