--- sidebar_label: Page.close --- # Page.close() method #### Signature: ```typescript class Page { close(options?: {runBeforeUnload?: boolean}): Promise; } ``` ## Parameters | Parameter | Type | Description | | --------- | ------------------------------ | ----------------- | | options | { runBeforeUnload?: boolean; } | (Optional) | **Returns:** Promise<void>