Skip to content

Commit 0718e1b

Browse files
committed
test: add --disable-dev-shm-usage to address WebDriverError: unknown error: Chrome failed to start: crashed
This fixes an issue where protractor integration tests are failing with ``` [07:38:37] I/direct - Using ChromeDriver directly... [07:38:39] E/launcher - unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) ```
1 parent 307eda1 commit 0718e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/testing/builder/projects/hello-world-app/protractor.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exports.config = {
1818
capabilities: {
1919
browserName: 'chrome',
2020
chromeOptions: {
21-
args: ['--headless', '--disable-gpu', '--window-size=800,600'],
21+
args: ['--headless', '--no-sandbox', '--disable-gpu', '--disable-dev-shm-usage'],
2222
binary: require('puppeteer').executablePath(),
2323
},
2424
},

0 commit comments

Comments
 (0)