2023-10-03 21:02:53,602: The chromedriver version (90.0.4430.24) detected in PATH at /usr/local/bin/chromedriver might not be compatible with the detected chrome version (117.0.5938.92); currently, chromedriver 117.0.5938.92 is recommended for chrome 117.*, so it is advised to delete the driver in PATH and retry
im getting this issue code: from selenium import webdriver from flask import Flask
app = Flask(name)
@app.route('/') def hello_world(): print('Hello from Flask!') print("working")
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu")
chrome_options.add_argument("--lang=de-DE")
browser = webdriver.Chrome(options=chrome_options)
print("working till here")
try:
browser.get("https://www.google.com")
print("Page title was '{}'".format(browser.title))
finally:
browser.quit()
return 'hello'
if name == 'main': app.run(debug=True)
and aslo im not able to delete and update latest version of chrome driver due to lack of perpemission please resolve my issue.