Maximize, minimize, restore or go fullscreen
browser_set_window_stateSet a Firefox window to normal, maximized, minimized, or fullscreen so automated workflows can control window layout before interacting with pages.
Instructions
Change the window state: normal, maximized, minimized or fullscreen. This is the title-bar buttons and F11, done programmatically. MEASURED: fullscreen is a PROPERTY (window.fullScreen = true), while the others are methods (maximize/minimize/restore). Minimizing hides the window — restore it before interacting again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Target window state |