You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Chrome更新至最新版后无法启动或标签崩溃,Selenium报错求助

Troubleshooting Chrome & Selenium Issues Post-Update

Alright, let's work through these frustrating Chrome/Selenium problems you're dealing with—version mismatches and leftover system cruft are usually the culprits here. Here's a step-by-step breakdown of fixes to try:

1. Fully Purge Chrome Residual Files

The most common reason downgrades or updates fail is leftover cache, configs, or partially deleted files. Do a clean wipe:

  • Uninstall Chrome via Windows Settings > Apps > Apps & Features
  • Manually delete these folders (replace [YourUsername] with your actual Windows username):
    • C:\Program Files (x86)\Google\Chrome
    • C:\Users\[YourUsername]\AppData\Local\Google\Chrome
  • Restart your computer before reinstalling Chrome and the matching Chromedriver.

2. Verify Exact Version Matching Between Chrome & Chromedriver

Even a minor version mismatch can break Selenium. Double-check:

  • Open Chrome and go to chrome://version/ to get your exact Chrome version (e.g., 65.0.3325.181)
  • Match it to the correct Chromedriver:
    • Chrome 65.x → Chromedriver 2.37
    • Chrome 66.x → Chromedriver 2.38
  • Download the exact Chromedriver build for your Windows x86_64 system, and make sure it's in your PATH or you specify its full path in your Selenium code.

3. Disable Chrome Auto-Update

Chrome often auto-updates in the background, undoing your downgrade. Lock it down:

Option 1: Group Policy (Windows Pro/Enterprise)

  • Open gpedit.msc via the Run dialog (Win + R)
  • Navigate to Computer Configuration > Administrative Templates > Google > Google Chrome > Updates
  • Set Update policy override to Disabled

Option 2: Registry Edit (All Windows Versions)

  • Open regedit via Run
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome (create the Chrome key if it doesn't exist)
  • Right-click, select New > DWORD (32-bit) Value, name it AutoUpdateCheckPeriodMinutes
  • Set its value to 0 and click OK

4. Adjust Selenium Chrome Launch Options

Add these arguments to your Selenium code to fix renderer connection issues (the "unable to send message to renderer" error):

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
# Fixes sandboxing issues on Windows
chrome_options.add_argument("--no-sandbox")
# Avoids limited shared memory issues
chrome_options.add_argument("--disable-dev-shm-usage")
# Disables GPU acceleration (can fix rendering crashes)
chrome_options.add_argument("--disable-gpu")
# Enables remote debugging to stabilize renderer connection
chrome_options.add_argument("--remote-debugging-port=9222")

# Initialize driver with the options
driver = webdriver.Chrome(executable_path="C:/path/to/your/chromedriver.exe", options=chrome_options)

5. Check System Dependencies

Ensure you have the latest Microsoft Visual C++ Redistributable packages installed. Missing these can cause Chrome or Chromedriver to fail silently or crash.


From your error logs, the initial issue was a renderer connection failure with Chrome 66 + Chromedriver 2.38—this is often fixed by cleaning residual files and adding the launch options above. If downgrading still fails, it's almost always because Chrome auto-updated or leftover files from the newer version were conflicting.

内容的提问来源于stack exchange,提问作者Jango Pay

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 10:01:15