-1

WSL protractor e2e test cannot start chrome, and threw below error

 E/launcher - unknown error: Chrome failed to start: exited abnormally.   (chrome not reachable)
Amr Ibrahim
  • 2,066
  • 2
  • 23
  • 47

1 Answers1

0

Open protractor.conf.js

Update config and add '--no-sandbox' chromeOptions.args

 exports.config = {
    capabilities: {
        browserName: 'chrome',
        chromeOptions: {
            args: [
                '--no-sandbox',// <= this argument here
            ],
        },
    },
 }

Amr Ibrahim
  • 2,066
  • 2
  • 23
  • 47