Skip to content

Commit 0a6763c

Browse files
committed
no-sandbox default to true
1 parent 0034e6e commit 0a6763c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Chrome is only installed when `driver: browser`.
7676
| `headers` | HTTP headers as multi-line `Key: Value`. See below. | |
7777
| `reproduce` | Path to a trace file to reproduce. Mutually exclusive with `time-limit` / `exit-on-violation`. | |
7878
| `headless` | Run Chrome headless. | `true` |
79-
| `no-sandbox` | Disable Chromium sandboxing. | `false` |
79+
| `no-sandbox` | Disable Chromium sandboxing. Defaults on because GitHub-hosted Ubuntu runners restrict the namespaces Chromium needs. | `true` |
8080
| `chrome-version` | Channel (`stable`, `beta`, `dev`, `canary`) or specific build ID. | `stable` |
8181
| `cache` | Cache the Chrome download across runs. | `true` |
8282

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ inputs:
6969
required: false
7070
default: 'true'
7171
no-sandbox:
72-
description: 'Disable Chromium sandboxing.'
72+
description: 'Disable Chromium sandboxing. Defaults to `true` because GitHub-hosted Ubuntu runners restrict unprivileged user namespaces, which Chromium needs to set up its sandbox. Set to `false` on hosts with a working sandbox.'
7373
required: false
74-
default: 'false'
74+
default: 'true'
7575

7676
# Terminal-driver options
7777
test-count:

0 commit comments

Comments
 (0)