Skip to main content
Version: 22.7.1

Page.close() method

Signature:

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

Parameters

Parameter

Type

Description

options

{ runBeforeUnload?: boolean; }

(Optional)

Returns:

Promise<void>