heroku / heroku-buildpack-google-chrome

[DEPRECATED] Classic buildpack that installs Google Chrome.
296 stars 365 forks source link

The chromedriver version (117.0.5938.62) detected in PATH at /app/.chromedriver/bin/chromedriver might not be compatible with the detected chrome version (116.0.5845.187); currently, chromedriver 116.0.5845.96 is recommended for chrome 116.*, so it is advised to delete the driver in PATH #145

Closed jonathanrstern closed 1 year ago

jonathanrstern commented 1 year ago

Once again, out of the blue, Heroku Chrome has stopped working. Again, the culprit: Chrome auto-updates.

Is there anything I can do?

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu")
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--disable-dev-shm-usage")

chrome_options.binary_location = os.environ.get("GOOGLE_CHROME_BIN")
service = Service()
browser = webdriver.Chrome(service=service, options=chrome_options)            
nbaki commented 1 year ago

Experiencing same thing today, version mismatch 116 v 117