Move a window on screen
browser_set_window_positionMove the browser window to specific screen coordinates and optionally resize it, enabling precise placement across single or multi-monitor setups with negative coordinates.
Instructions
Move the window to a screen coordinate (window.moveTo) and optionally resize it (window.resizeTo). Coordinates are in screen pixels. Use browser_get_window_geometry first if you need the current values, and remember multi-monitor setups can have negative coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Screen x | |
| y | Yes | Screen y | |
| width | No | Optional new width | |
| height | No | Optional new height |