Skip to content

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

@ivangotti

Description

@ivangotti

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions