puppeteer/new-docs/puppeteer.page.setofflinemode.md
Changhao Han adeffbaac1
docs(new): migrate Page.ts to TSDoc (part 0 / 2) (#6104)
* docs(new): migrate Page.ts to TSDoc (part 0 / 2)

Co-authored-by: Changhao Han <changhaohan@chromium.org>
2020-06-26 09:24:56 +02:00

563 B

Home > puppeteer > Page > setOfflineMode

Page.setOfflineMode() method

Signature:

setOfflineMode(enabled: boolean): Promise<void>;

Parameters

Parameter Type Description
enabled boolean When true, enables offline mode for the page.

Returns:

Promise<void>