[Fixed] ERROR io.github.bonigarcia.wdm.online.HttpClient – Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116 – Java

by
Alexei Petrov
google-chrome selenium-chromedriver selenium-webdriver webdrivermanager-java

Quick Fix: To resolve the ‘Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116′ issue, upgrade your Selenium version to the latest release, version 4.11.0.

The Problem:

A user is encountering an error while running automated tests after updating Chrome from version 114 to version 116. The error message indicates an HTTP 404 error when attempting to access the URL https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116, suggesting that the file or resource is not found. The user is seeking a solution to resolve this issue and ensure successful execution of automation tests.

The Solutions:

Solution 1: Update Selenium Version

The error "ERROR io.github.bonigarcia.wdm.online.HttpClient – Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116" occurs due to an outdated Selenium version. To resolve this issue, follow these steps:

  1. Update Selenium Version: Ensure you are using the latest version of Selenium, which is currently 4.11.0. Check the official Selenium website or your package manager to obtain the latest version.

  2. Verify Chromedriver Compatibility: Confirm that the installed Chromedriver version is compatible with the updated Selenium version. Refer to the official Chromedriver download page and select the version compatible with Selenium 4.11.0.

  3. Add Chromedriver to System Path: After downloading Chromedriver, add its path to your system’s environment variables. This allows the Selenium WebDriver to locate and use Chromedriver.

  4. Verify Installation: To verify the successful installation, run a simple Selenium script using the updated Selenium version and Chromedriver. If the script runs without errors, you have successfully resolved the issue.

Q&A

Why am I getting the HTTP 404 error with ChromeDriver?

Upgrade to the latest Selenium version (4.11.0).

What causes the HTTP 404 error?

The error is due to an outdated Selenium version.

Video Explanation:

The following video, titled "Chrome 116 with Selenium 3.x and 4.x With WebDriverManager ...", provides additional insights and in-depth exploration related to the topics discussed in this post.

Play video

Hi, now chrome browser updated to 117 and I am unsing SM 4.11.0. When I executed the script it got error as session not created.