使用 selenium 打开时,谷歌浏览器不显示任何文本/字体 [英] Google Chrome shows no text/fonts when opened with selenium

查看:34
本文介绍了使用 selenium 打开时,谷歌浏览器不显示任何文本/字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我使用一些 python 脚本来自动化谷歌浏览器中的一些东西.从昨天开始,我遇到了一个非常奇怪的错误.当我使用通过 selenium 打开 Google Chrome 的脚本,所有网站如下所示:截图

So i was using some python scripts for automating some stuff in google chrome. Since yesterday i experience a really strange bug. When i use the script to open Google Chrome via selenium, all Websites look like this: Screenshot

我模糊了脸部,它们可以完美显示.但是绝对没有显示文本,即使在控制台中也是如此.这适用于现在几周了,突然之间它看起来像这样.

I blurred out the faces, they get displayed perfectly. But there is absolutely no text getting displayed, not even in console. This worked for weeks now and all of the sudden it looks like this.

任何想法如何解决它?我尝试重新安装 Chrome 和 chromedriver,但没有成功.

Any Ideas how to fix it? I tried reinstalling Chrome and chromedriver, without success.

推荐答案

将系统语言改为英文即可解决此问题

Change your system language to English to solve this problem

这篇关于使用 selenium 打开时,谷歌浏览器不显示任何文本/字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆