# Camofox Browser v1.4.0

## What's New

### 🖼️ Download & Image Capture
- **File downloads**: Camofox now captures files downloaded during browser sessions — PDFs, CSVs, images, and more. Your agent can access them programmatically after a download completes.
- **Page image extraction**: A new endpoint pulls all visible images from a page, useful for extracting product photos, charts, or screenshots from web apps.

### 🧠 JavaScript Evaluation
- **Run JavaScript on any page**: The new `camofox_evaluate` tool lets agents execute JavaScript directly in a tab's page context — read page state, call web app APIs, or inject scripts. *(Thanks @faith0811!)*

### ⚡ Reliability Improvements
- **Faster page interactions**: Clicks, typing, and scrolling are more responsive. Stale element references (from dynamic pages like SPAs) are now auto-refreshed instead of failing.
- **No more cold starts**: The browser pre-warms on startup, so the first page load is just as fast as every other one.
- **Better error recovery**: Tabs that stop responding are automatically cleaned up. Dead browser sessions recover without restarting the server.
- **Google Search is faster**: Results pages load ~2x quicker with a new direct extraction method.

### 🔧 Under the Hood
- Converted the codebase to modern JavaScript modules (ESM). No changes needed on your end — the plugin API is the same.
- Version numbers in `package.json` and `openclaw.plugin.json` now stay in sync automatically.

## Thank You

Thanks to our contributors who made this release possible:

- **@Microck** — download capture & image extraction
- **@faith0811** — JavaScript evaluation endpoint

We welcome contributions! If you'd like to get involved, check out the [repo](https://github.com/jo-inc/camofox-browser).

## Upgrading

Update your plugin to v1.4.0. No configuration changes needed — everything is backward compatible.
