> 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.

# Browser

> Browser configuration.

Browser configuration.

## Referenced In

* [context](/reference/schemas/context)
* [Resolved context](/reference/schemas/resolved-context)

## Fields

| Field    | Type                                                            | Description                                                                                                                                                                                                                                                                                                                       | Default |
| :------- | :-------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------ |
| name     | string                                                          | Required. Name of the browser. Accepted values: `chrome`, `firefox`, `safari`, `webkit`                                                                                                                                                                                                                                           | —       |
| explicit | boolean                                                         | ReadOnly. Set automatically during context resolution: `true` when the author explicitly requested this browser (as opposed to it being auto-selected as the default). The runner's cross-browser fallback uses it to decide whether substituting another engine reports `PASS` (auto-selected) or `WARNING` (explicitly pinned). | —       |
| headless | boolean                                                         | Optional. If `true`, runs the browser in headless mode.                                                                                                                                                                                                                                                                           | `true`  |
| window   | object([Browser Window](/reference/schemas/browser-window))     | Optional. Browser dimensions.                                                                                                                                                                                                                                                                                                     | —       |
| viewport | object([Browser Viewport](/reference/schemas/browser-viewport)) | Optional. Viewport dimensions.                                                                                                                                                                                                                                                                                                    | —       |

## Examples

```json
{
  "name": "chrome",
  "headless": true,
  "window": {
    "width": 42,
    "height": 42
  },
  "viewport": {
    "width": 42,
    "height": 42
  }
}
```