After starting a server with webdriver-manager start
, encountering an error when attempting to run protractor:
Using the selenium server at http://127.0.0.1:4444/wd/hub
[launcher] Running 1 instance of WebDriver
ERROR - Unable to initiate a WebDriver session.
C:\...\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\atoms\error.js:113
var template = new Error(this.message);
^
UnknownError: unknown error: unable to locate Chrome binary
The configuration file appears as follows:
exports.config = {
specs: [
'test/*.js'
],
capabilities: {
'browserName': 'chrome'
},
seleniumAddress: 'http://127.0.0.1:4444/wd/hub'
};
Tried specifying the binary within the capabilities object and including chromeDriver and seleniumServerJar keys without success. Any suggestions?