Using docker to run nightwatch chrome is ignoring the chromeOptions #3150
-
Having an issue when i try to run nightwatch on a docker container using chrome. Basically it won't run because of this error: Running as root without --no-sandbox is not supported However, in my nightwatch.conf.js i have chromeOptions set to supply no sandbox mode in the arguments, but it doesn't work. let localConfig = require('./nightwatch.local.conf');
From the log i see Nightwatch is running this command for chrome when i run: nightwatch --env twstaging:
It's not including the --no-sandbox or --headless or --disable-gpu and i don't know why |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For v2 you have to use |
Beta Was this translation helpful? Give feedback.
For v2 you have to use
goog:chromeOptions
instead ofchromeOptions
.