Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Page#setOfflineMode

Headless Chrome Deno API
Latest
method Page.prototype.setOfflineMode
Re-export
import { Page } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Parameters

enabled: boolean
  • When true, enables offline mode for the page.

Returns

Promise<void>