puppeteer/website/versioned_docs/version-10.1.0/puppeteer.page.close.md
2021-08-10 11:09:48 +01:00

506 B

Home > puppeteer > Page > close

Page.close() method

Signature:

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

Parameters

Parameter Type Description
options { runBeforeUnload?: boolean; }

Returns:

Promise<void>