Browser
Browser configuration.
Referenced In
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) | Optional. Browser dimensions. | — |
| viewport | object(Browser Viewport) | Optional. Viewport dimensions. | — |
Examples
{"name": "chrome","headless": true,"window": {"width": 42,"height": 42},"viewport": {"width": 42,"height": 42}}