mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
adeffbaac1
* docs(new): migrate Page.ts to TSDoc (part 0 / 2) Co-authored-by: Changhao Han <changhaohan@chromium.org>
563 B
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>