Reputation: 93
When I run webdriver-manager start. I run into the error message "Selenium Standalone server encountered an error: Error: spawn java ENOENT" Do I need to Install java? If so how would I do so on a chrome book that is running crostini?
Your answers or pointers would be much appreciated!.
webdriver-manager start
[03:35:35] I/start - java -Djava.security.egd=file:///dev/./urandom -Dwebdriver.chrome.driver=/usr/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.140 -Dwebdriver.gecko.driver=/usr/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.24.0 -jar /usr/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar -port 4444
[03:35:35] I/start - seleniumProcess.pid: undefined
[03:35:35] W/start - Selenium Standalone server encountered an error: Error: spawn java ENOENT
Upvotes: 0
Views: 1300
Reputation: 268
Well, The Selenium requires Java for its operations.
Download the latest JDK and set the environment, make sure node.js installed properly and installed protractor globally (npm install -g protractor), then try again.
Upvotes: 0
Reputation: 8692
The Selenium requires Java. Download the latest JDK and set the path
. Read more about how to coding and set up your Chromebook here:
Upvotes: 2