Skip to content

Commit f141700

Browse files
alan-agius4clydin
authored andcommittedJan 27, 2025
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) ``` (cherry picked from commit 0718e1b)
1 parent fdddf2c commit f141700

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)
Please sign in to comment.