0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/website/versioned_docs/version-21.6.0/api/puppeteer.page.close.md
release-please[bot] 8c0ac61260
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-12-06 09:04:56 +01:00

447 B

sidebar_label
Page.close

Page.close() method

Signature:

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

Parameters

Parameter Type Description
options { runBeforeUnload?: boolean; } (Optional)

Returns:

Promise<void>