Selenium: Server terminated with status 127

Viewed 2642

I've looked at a lot of the other posts and none seem to have worked for me even though it's giving the same error.

I'm running bash through windows, all I'm trying to do is get the given code from npm selenium-webdrivers to load and even that's not working.

Here's the app.js:

require('chromedriver');
const webdriver = require('selenium-webdriver'),
  By = webdriver.By,
  until = webdriver.until;

var driver = new webdriver.Builder()
  .forBrowser('chrome')
  .build();

driver.get('http://www.google.com/ncr');
driver.findElement(By.name('q')).sendKeys('webdriver');
driver.findElement(By.name('btnG')).click();
driver.wait(until.titleIs('webdriver - Google Search'), 1000);
driver.quit();

Here's the Bash error when I run node app.js HERE

Any help would be appreciated

1 Answers
Related