I’m encountering an error while trying to manage ChromeDriver in my Selenium script: Unsuccessful response (403 Forbidden) for URL https://storage.googleapis.com/chrome-for-testing-public/127.0.6533.119/win64/chrome-win64.zip); using driver found in the cache. Despite updating ChromeDriver manually, the script still throws this error and falls back to using the cached driver. How can I resolve this issue and ensure my script uses the correct ChromeDriver?
This is my arguments in chrome options:
chrome_options.add_argument('--ignore-certificate-errors')
chrome_options.add_argument('--disable-web-security')
chrome_options.add_argument('--allow-running-insecure-content')
I manually downloaded and updated ChromeDriver to match my Chrome version, expecting the script to run without errors. However, the script still tries to access the Google storage URL, encounters a 403 Forbidden error, and defaults to using the cached driver instead of the updated one.