# htmax bundle — manual test

Version: ``

## 1. SSE (hx-sse)

Connects to a stream and receives 5 messages then closes.

Waiting for stream…

## 2. WebSockets (hx-ws)

Checks the extension is registered (full WS test requires `ws-server.js`).

## 3. Preload (hx-preload)

Hover the button to preload, then click to swap. Check Network tab — request fires on hover.

## 4. Browser Indicator (hx-browser-indicator)

Browser's native loading spinner should appear during the 1.5s request.

## 5. Download (hx-download)

Should trigger a file download without navigating away.

## 6. Optimistic (hx-optimistic)

Template content shows immediately; server response replaces it after 1.5s.

## 7. Targets (hx-targets)

Same response swapped into two elements simultaneously.

Target 1
Target 2

## 8. Live (hx-live)

Counter increments live as you type.

0 chars

## 9. Upsert (hx-upsert)

Item 1 updates in place, Item 3 is inserted. Item 2 is preserved.

Item 1 (original)
Item 2 (should stay)

## 10. Alpine Compat (hx-alpine-compat)

Alpine is not loaded here — extension should silently no-op. Check console for errors (there should be none).

## 11. History Cache (hx-history-cache)

Navigate to page 2, then hit the browser back button. The restore should come from `sessionStorage` (no network request in DevTools).

Page 1 — initial content.

Go to page 2