You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support resize_page when browser window is maximized/fullscreen #465
Is your feature request related to a problem? Please describe.
Problem:
Currently, resize_page fails when the browser window is maximized or in full-screen mode with the error:
Protocol error (Browser.setContentsSize): Restore window to normal state before setting content size
Expected Behavior: resize_page should work regardless of the browser window state, similar to how Chrome DevTools "Toggle device toolbar" feature allows dimension changes even when the browser is maximized.
Describe the solution you'd like
Could the tool automatically handle window state restoration before resizing, or provide an option to simulate viewport resizing (like DevTools device emulation) instead of actual window resizing?
Describe alternatives you've considered
provide an option to simulate viewport resizing (like DevTools device emulation) instead of actual window resizing
Activity
OrKoN commentedon Oct 24, 2025
Thanks, yeah, I think we should automatically unmaximize the window to resize it. The emulation for devices is tracked in separate feature requests.
PeterDraex commentedon Dec 14, 2025
Is there any workaround available?
fix: support resize_page when browser window is maximized/fullscreenw…
OrKoN commentedon Jan 20, 2026
Fixed by #748
fix: support resize_page when browser window is maximized/fullscreenw…