Skip to main content
Version: 19.2.2

Page.close() method

Signature:

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

Parameters

ParameterTypeDescription
options{ runBeforeUnload?: boolean; }(Optional)

Returns:

Promise<void>