# Export and print Export a page to a file, Word included. The PDF route renders `/print/` through Browser Rendering, the Worker's `BROWSER` binding, and passes the user's cookies so the better-auth session validates. The first run lists the formats the menu actually offers. ## Sub-features - Print route `/print/`. - PDF export through `/api/export/pdf`. - DOCX export. ## How to get to it (user POV) Navbar `More actions` (the `…` button) on a page, then the export entry. ## Driving it with the built-in browser 1. Sign in, open `/`, open `More actions`, pick a format. 2. Proof: the downloaded file exists and opens with the page's title and body; `/print/` renders the same content in the browser. ## Gotchas - Not yet driven by this recipe. Downloads need the user's go-ahead in the browser; save them under the evidence directory. - Browser Rendering must reach the app on `127.0.0.1:3000`; check `tmp/verify/logs/vite.log` for its requests when an export hangs.