WSL protractor e2e test cannot start chrome, and threw below error
E/launcher - unknown error: Chrome failed to start: exited abnormally. (chrome not reachable)
WSL protractor e2e test cannot start chrome, and threw below error
E/launcher - unknown error: Chrome failed to start: exited abnormally. (chrome not reachable)
Open protractor.conf.js
Update config and add '--no-sandbox' chromeOptions.args
exports.config = {
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: [
'--no-sandbox',// <= this argument here
],
},
},
}