Skip to main content
Version: Next

Page.close() method

Signature

class Page {
abstract close(options?: {runBeforeUnload?: boolean}): Promise<void>;
}

Parameters

Parameter

Type

Description

options

{ runBeforeUnload?: boolean; }

(Optional)

Returns:

Promise<void>