Skip to content

[πŸ› Bug]: required engines in package.json in webdriver 4.28.0 drops support for LTS versions of nodeΒ #15120

@BrianFreedman

Description

@BrianFreedman

What happened?

npm install fails when running on a LTS version of node that is not >= 22.13.0

as per https://github.com/SeleniumHQ/selenium/blob/1f68c82/javascript/node/selenium-webdriver/package.json#L23

here's the change where it went in:
https://github.com/SeleniumHQ/selenium/pull/15058/files

How can we reproduce the issue?

using any LTS of node 20:
with `engine-strict=true` set in your .npmrc file
run `npm install`

Relevant log output

npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: [email protected]
npm error notsup Not compatible with your version of node/npm: [email protected]
npm error notsup Required: {"node":">= 22.13.0"}
npm error notsup Actual:   {"npm":"10.7.0","node":"v20.14.0"}

Operating System

Windows 11

Selenium version

Javascript [email protected]

What are the browser(s) and version(s) where you see this issue?

n/a

What are the browser driver(s) and version(s) where you see this issue?

n/a

Are you using Selenium Grid?

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions