Closed jrichardsz closed 1 year ago
{
"arguments": [
"--log-level=1",
"--no-sandbox",
"--disable-gpu",
"--disable-dev-shm-usage",
"--headless",
"--window-size=2200,1600"
],
"options": {
"excludeSwitches" : "...",
"setChromeBinaryPath" : "..."
}
}
https://github.com/usil/seleniumjs4all/blob/fix-CustomEnviroment/src/browsers/browserDriver.js#L26
chromeOptions[methodName](methodParam);
add a link with all the available options
This bug was solved in the commit https://github.com/usil/seleniumjs4all/commit/e27fb2a70aec285744cb122b6d91b6d6881b646d
The list of chrome options is
https://stackoverflow.com/questions/73628163/handling-selenium-webdrivers-on-node-js-when-sigint-is-recieved