chrome-service: size headed Chrome window to fill Xvfb (noVNC cut-off)
All checks were successful
ci/woodpecker/push/default Pipeline was successful

The noVNC view showed the browser in the top-left with the rest of the
framebuffer black. Cause: Chrome launched with no --window-size, and there's no
window manager, so it opened at its profile-persisted (smaller) size inside the
1280x720 Xvfb. Add --window-size=1280,720 --window-position=0,0 so the window
fills the screen on every launch (fresh pods/profiles too). Live windows were
already resized via CDP as a stopgap.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-22 18:00:20 +00:00
parent c7ead032ec
commit a3cdc0d6d0
2 changed files with 6 additions and 1 deletions

View file

@ -252,6 +252,8 @@ resource "kubernetes_deployment" "chrome_service" {
--disable-dev-shm-usage \
--password-store=basic \
--use-mock-keychain \
--window-position=0,0 \
--window-size=1280,720 \
about:blank
EOT
]