使用Selenium Wire时遭遇版本不支持及证书验证错误求助
使用Selenium Wire时遭遇版本不支持及证书验证错误求助
Hey 各位大佬,我最近在用Selenium Wire的时候碰到俩棘手的错误,但只要关掉Wire就一切正常,想请大家帮忙支支招!
先把报错日志贴出来:
[6244:1880:0929/171549.191:ERROR:gl_display.cc(497)] EGL Driver message (Error) eglCreateContext: Requested version is not supported [6244:1880:0929/171549.225:ERROR:gl_display.cc(497)] EGL Driver message (Error) eglCreateContext: Requested version is not supported [5568:10620:0929/171550.355:ERROR:cert_verify_proc_builtin.cc(1063)] CertVerifyProcBuiltin for accounts.google.com failed: ----- Certificate i=1 (CN=Selenium Wire CA) ----- ERROR: No matching issuer found
现在的情况是,只要启用Selenium Wire就会弹出这俩错误,尤其是证书验证的问题直接导致谷歌账户相关页面访问失败。有没有朋友遇到过类似情况,能给点解决思路吗?
我自己查了点资料,整理了几个可能的方向,但还没完全搞定:
- 针对EGL版本错误:试过启动浏览器时加
--disable-gpu和--disable-software-rasterizer参数禁用GPU加速,好像能缓解但偶尔还是会冒出来 - 针对证书验证错误:听说要信任Selenium Wire生成的CA证书,但我不太清楚具体怎么导入到系统或者浏览器里,有没有详细点的操作步骤?
麻烦大家帮帮忙啦!
备注:内容来源于stack exchange,提问作者jhon_
相关产品推荐
相关产品推荐

