ProductsHTML Demo
HTML Capture
How Demoship captures your product's HTML, CSS, and assets to create interactive demos.
The HTML capture engine snapshots your product's DOM, stylesheets, fonts, and images into a self-contained package that renders identically outside your production environment.
How capture works
- The browser extension traverses the current page's DOM tree.
- All inline and external stylesheets are resolved and bundled.
- Images, fonts, and SVGs are downloaded and stored as assets.
- JavaScript behavior is selectively preserved for UI interactions (dropdowns, tabs, accordions).
- The result is a standalone HTML package hosted on Demoship's CDN.
Browser extension setup
- Install the Demoship Chrome extension from the Chrome Web Store.
- Log in to your Demoship account through the extension popup.
- Navigate to the page you want to capture.
- Click the extension icon and select Capture HTML Demo.
- Wait for the capture to complete (typically 5-15 seconds depending on page complexity).
What gets captured
- Full DOM structure including shadow DOM elements.
- CSS (inline, embedded, and external stylesheets).
- Web fonts and icon fonts.
- Images (raster and SVG).
- Basic UI interactions (CSS-driven transitions, simple JS widgets).
What doesn't get captured
- Server-side functionality (API calls, form submissions, real-time data).
- Complex JavaScript applications that rely on backend state.
- Video and audio elements (captured as static frames).
- Third-party widgets loaded from external domains (chat widgets, analytics scripts).
Handling dynamic content
If your page loads content dynamically (e.g., via API calls or lazy loading):
- Wait for all content to fully load before capturing.
- Scroll through the page to trigger lazy-loaded images.
- Open any dropdowns or modals you want available in the demo, then close them -- the extension captures their DOM even when hidden.
Authenticated pages
For pages behind a login:
- Log in to your product normally in the browser.
- The extension uses your existing session to capture the authenticated page.
- Captured content is static -- no credentials are stored or transmitted.
Note: Captured HTML is sandboxed. It cannot make network requests, access cookies, or run arbitrary scripts. This is a security boundary, not a limitation.