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

如何禁用Chrome 125版随机弹出的帮助提示窗口?(Excel VBA场景)

解决Chrome 125通过VBA+ChromeDriver启动时弹出帮助提示的问题

针对Chrome 125版本新增的随机帮助提示弹窗导致VBA脚本报错的问题,可通过以下方法禁用:

方法1:添加Chrome启动参数

在启动Chrome时传入禁用帮助功能的参数,直接阻止弹窗出现。修改你的VBA代码如下:

'Excel 2010; VBA 7.0
Dim oChrm As ChromeDriver
Set oChrm = New ChromeDriver
If oChrm Is Nothing Then Exit Sub
With oChrm
  ' 添加禁用帮助提示的启动参数
  .Start "CHROME", "--disable-features=ChromeHelpHub --disable-infobars"
  .Window.SetPosition 0, 0
  .Window.SetSize 1920, 1080
  .Get "https://stackoverflow.com"
End With 'oChrm

参数说明:

  • --disable-features=ChromeHelpHub:直接禁用Chrome 125新增的帮助中心相关弹窗
  • --disable-infobars:兜底禁用所有信息栏类弹窗,避免其他类似提示干扰

方法2:通过注册表强制禁用(Windows系统)

如果启动参数无效,可通过注册表强制关闭该功能:

  1. 按下Win+R输入regedit打开注册表编辑器
  2. 导航到路径:HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome(若路径不存在,依次新建项:Google → Chrome)
  3. 在右侧右键新建DWORD(32位)值,命名为ChromeHelpHubEnabled,将数值数据设为0
  4. 重启Chrome和VBA脚本,弹窗将不再出现

方法3:确保ChromeDriver版本匹配

确认你的ChromeDriver版本与Chrome 125完全对应(主版本号一致),版本不兼容可能触发异常行为。下载对应版本的ChromeDriver替换现有文件即可。

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.22 13:45:56