Index: test/runners/chromium_process.js |
=================================================================== |
--- a/test/runners/chromium_process.js |
+++ b/test/runners/chromium_process.js |
@@ -30,16 +30,18 @@ |
// We currently want Chromiun 63, as we still support it and that's the |
// loweset version that supports WebDriver. |
const CHROMIUM_REVISION = 508578; |
function runScript(chromiumPath, script, scriptName, scriptArgs) |
{ |
const options = new chrome.Options() |
.headless() |
+ // disabling sandboxing. It is needed on some systems. |
+ .addArguments("--no-sandbox") |
.setChromeBinaryPath(chromiumPath); |
const driver = new Builder() |
.forBrowser("chrome") |
.setChromeOptions(options) |
.build(); |
return executeScript(driver, "Chromium (WebDriver)", |