Skip to content

Chromedriver download url changing for versions 115+ #416

@benm071

Description

@benm071

Chrome has changed their download site/formats as of 115 to something like

https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.13/win32/chromedriver-win32.zip

Therefore, the built in googleapis site no longer works, and it's not seemingly possible to use the environment variables to create a compatible URL. The closest we can come is to define, for example:

CHROMEDRIVER_CDNURL=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.13

and

CHROMEDRIVER_VERSION=win32

however the target filename on the Chrome CDN has now been changed to
chromedriver-win32.zip rather than the
chromeidriver_win32.zip built into node-chromedriver. (Note the change from _ to -)
I don't think this can be overcome without a node-chromedriver code change

A patch needs to be released for node-chromedriver that either can build the proper CDN URL for chromedrivers after 114 or allow a configurable target CDN filename to be overridden using an environment variable so we can hack together the proper download.

See https://groups.google.com/g/chromedriver-users/c/clpipqvOGjE

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions