node-chromedriver
node-chromedriver copied to clipboard
Investigate remove Axios and use fetch api when it becomes stable
Fetch api is only available in Node 18+, but experimentally, and at the time of this writing, it is still experimental in Node 20.
Investigate if the fetch api will be able to do everything Axios does (proxy support etc). Fetch api is also not yet stable on Node 20, if it is not stabilized we will need to wait until it is.
See the https://github.com/giggio/node-chromedriver/tree/fetch_api branch for an update on the update.js script (https://github.com/giggio/node-chromedriver/blob/fetch_api/update.js).
Fetch has shipped as stable in v18 onwards 😉
@christian-bromann docs still mention it as experimental.
Fetch is documented as stable in Node v21! So the next LTS to have it will be v22. +1 to do this when the time is right :)
Awesome! We'll need to wait until Node.js 20 is out of support, until April 2026. https://nodejs.org/en/about/previous-releases