Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivangotti opened this issue Jun 23, 2023 · 2 comments
Open

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

ivangotti opened this issue Jun 23, 2023 · 2 comments

Comments

@ivangotti
Copy link

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?

@shuowu-okta
Copy link
Contributor

@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

@av1934413
Copy link

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants