I’m using node 5.10.0 on this version of Linux
[davea@mydevbox mydir]$ uname -a
Linux mydevbox.mydomain.com 7.3.8-25.26.amzn1.x86_64 #1 SMP Wed Mar 16 17:15:
As suggested by other answers, the error message means you have unmet dependencies.
In my case of selenium e2e test, fixes are:
apt-get install default-jre
as mentioned by @Johannesapt-get -f install
for a fix installapt-get install chromium-browser
Make sure to install the correct version of chrome related to your chromedriver, e.g. chrome 60-62 for chromedriver 2.33
const options = new chromeDriver.Options();
options.addArguments(
'headless',
'disable-gpu',
);
new webdriver.Builder()
.forBrowser('chrome')
.setChromeOptions(options)
.build();