Offline Mode / Service Workers
Instructions: This page uses a service worker to enable offline functionality.
- Load this page with an active internet connection. The service worker will be installed and will cache the page assets.
- In your automation script, disconnect the network.
- Reload the page.
Validation: The page should still load correctly from the cache, and the status message below should indicate that the content is being served by the service worker.
Connection Status
Online. Content loaded from the network.