chrome版本无法自动加载flash的解决方法

问题:chrome 浏览器 68 版本后无法自动加载 flash
解决:修改注册表
方法:

  1. 拷贝如下代码段到文本中,另存为xxx.reg
  2. 双击运行xxx.reg 文件即可
Windows Registry Editor Version 5.00  
[HKEY_CURRENT_USER\SOFTWARE\Policies\Chromium] 
"AllowOutdatedPlugins"=dword:00000001 
"RunAllFlashInAllowMode"=dword:00000001 
"DefaultPluginsSetting"=dword:00000001 
"HardwareAccelerationModeEnabled"=dword:00000001 
[HKEY_CURRENT_USER\SOFTWARE\Policies\Chromium\PluginsAllowedForUrls] 
"1"="https://*" 
"2"="http://*" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome] 
"AllowOutdatedPlugins"=dword:00000001 
"RunAllFlashInAllowMode"=dword:00000001 
"DefaultPluginsSetting"=dword:00000001 
"HardwareAccelerationModeEnabled"=dword:00000001 
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\PluginsAllowedForUrls] 
"1"="https://*" 
"2"="http://*"

你可能感兴趣的:(Selenium)