I have followed the README, I have all environment variables set but "npm test" fails:
[11:30:32] I/launcher - Running 1 instances of WebDriver
[11:30:32] I/local - Starting selenium standalone server...
[11:30:32] E/launcher - Error: Error: Server terminated early with status 1
at /Users/ivangotti/samples-nodejs-express-4/node_modules/selenium-webdriver/remote/index.js:255:52
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[11:30:32] E/launcher - Error: ReferenceError: browser is not defined
@ivangotti Thanks for reporting the issue! We will investigate on it. Btw, npm test is for sample e2e test, the failure of this script should not block you from running the sample.
I have followed the README, I have all environment variables set but "npm test" fails:
[11:30:32] I/launcher - Running 1 instances of WebDriver [11:30:32] I/local - Starting selenium standalone server... [11:30:32] E/launcher - Error: Error: Server terminated early with status 1 at /Users/ivangotti/samples-nodejs-express-4/node_modules/selenium-webdriver/remote/index.js:255:52 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [11:30:32] E/launcher - Error: ReferenceError: browser is not defined
How can I define the browser?