ci(browser): pin stable Chrome for the driver tests

setup-chrome's default latest pulled a dev Chromium (150) whose remote
debugging socket never came up under chromedp, while plain --dump-dom
worked. Pin the stable channel, which the driver is tested against.
This commit is contained in:
pj committed 2026-06-02 02:21:12 +05:30
1 parent 96097fb6ea
commit 1ecfc97266
1 file changed
+5
+5
View File
@@ -95,8 +95,13 @@ jobs:
go-version-file: go.mod
cache: true
# Pin stable: the action's default (latest) pulls a dev Chromium whose
# remote-debugging socket is flaky under the driver, even though the
# browser otherwise launches headless.
- name: Set up Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
# Ubuntu 24.04 (current ubuntu-latest) restricts unprivileged user
# namespaces via AppArmor, which stops headless Chrome from starting even