Open an isolated session
browser_session_openOpen an isolated browsing session and get a sessionId for subsequent navigation and assertions. Configure viewport, color scheme, and reduced motion to prepare responsive/media QA before testing.
Instructions
Open an independent browsing session and get its sessionId and environment. Optional viewport, colorScheme and reducedMotion configure responsive/media QA before navigation; defaults are 1280×800, light, no-preference. Each session owns a private BrowserContext, cookie/storage jar, popup tree, observation counter and ids, so several sweeps run AT THE SAME TIME without invalidating or authenticating each other. Pass the returned sessionId on every call belonging to that sweep. Close it with browser_session_close when done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewport | No | CSS-pixel viewport. Width and height must be integers from 1 to 8192. | |
| colorScheme | No | Preferred color scheme exposed to CSS and matchMedia. | |
| reducedMotion | No | Preferred reduced-motion setting exposed to CSS and matchMedia. |