Configure this session for visual QA
browser_environmentSet or read viewport, color scheme, and reduced-motion for responsive, dark-mode, and motion QA. Updates apply session-wide and preserve cookies/storage; verify page changes after each update.
Instructions
Get or update this session’s viewport, colorScheme and reducedMotion for responsive, light/dark and motion QA. Omitted settings are preserved; with no settings this only reads the current environment. Returns environment. Updates apply to every page in this session and future popups, preserving cookies, storage, privacy rules and other sessions. The observation baseline remains unchanged (baselineAdvanced:false); call browser_verify after every update to inspect resulting page changes. Changing settings is refused under readonly policy because resize/media handlers may trigger page actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewport | No | CSS-pixel viewport. Width and height must be integers from 1 to 8192. | |
| sessionId | No | Optional session from browser_session_open. Omitted uses the shared default session. | |
| colorScheme | No | Preferred color scheme exposed to CSS and matchMedia. | |
| reducedMotion | No | Preferred reduced-motion setting exposed to CSS and matchMedia. |