> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.doc-detective.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.doc-detective.com/_mcp/server.

## v4.20.0

### New features

* You can now test native Windows desktop apps (experimental). The new [`startSurface`](/docs/actions/startsurface) action launches an app, `find`, `click`, and `type` act on it, and [`closeSurface`](/docs/actions/closesurface) closes it. Locate elements with the usual fields, such as `elementText`, or with a native selector. See [Test native Windows apps](/docs/test-docs/native-windows-apps).
* Tests that only target apps no longer start a browser.
* Added `requires` to contexts, which declares the commands, files, and environment variables a context needs. Use a string, an array, or an object with `commands`, `files`, and `env`. If any requirement is unmet, the context is `SKIPPED` with a reason that names each missing item. See the [requirements reference](/reference/schemas/requirements).
* `runOn` entries can omit `platforms` and `browsers`, so a context can be gated by `requires` alone.