samples-nodejs-express-4 icon indicating copy to clipboard operation
samples-nodejs-express-4 copied to clipboard

Issues with selenium opening the browser (browser is not defined)

Open ivangotti opened this issue 2 years ago • 2 comments

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?

ivangotti avatar Jun 23 '23 16:06 ivangotti

@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.

Internal ref: OKTA-629412

shuowu-okta avatar Jul 19 '23 18:07 shuowu-okta

😄

av1934413 avatar Aug 21 '23 01:08 av1934413