当前位置:网站首页>成功解决:selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from
成功解决:selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from
2022-06-25 04:01:00 【小袁ITSuper】
成功解决:selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 294.905
(Session info: headless chrome=102.0.5005.115)
报错问题
报错问题:最近跑自动化爬虫时遇到的问题
File "D:\Python3.8\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 294.905
(Session info: headless chrome=102.0.5005.115)
Stacktrace:
Backtrace:
Ordinal0 [0x00762733+2434867]
Ordinal0 [0x006F07A1+1968033]
Ordinal0 [0x005DC678+837240]
Ordinal0 [0x005CD740+776000]
Ordinal0 [0x005CC565+771429]
Ordinal0 [0x005CCB68+772968]
Ordinal0 [0x005D780F+817167]
Ordinal0 [0x005E251B+861467]
Ordinal0 [0x005E4F30+872240]
Ordinal0 [0x005CCE36+773686]
Ordinal0 [0x005E2365+861029]
Ordinal0 [0x00634BDD+1199069]
Ordinal0 [0x00624256+1131094]
Ordinal0 [0x005FE840+976960]
Ordinal0 [0x005FF736+980790]
GetHandleVerifier [0x009D3C72+2515426]
GetHandleVerifier [0x009C702F+2463135]
GetHandleVerifier [0x0080522A+620442]
GetHandleVerifier [0x00804016+615814]
Ordinal0 [0x006F707B+1994875]
Ordinal0 [0x006FB938+2013496]
Ordinal0 [0x006FBA25+2013733]
Ordinal0 [0x00704DE1+2051553]
BaseThreadInitThunk [0x75B2FA29+25]
RtlGetAppContainerNamedObjectPath [0x772A7A9E+286]
RtlGetAppContainerNamedObjectPath [0x772A7A6E+238]

报错原因
根本原因是加载内容过多,导致的超时。
解决方法
1、临时解决方法:chrome_options.add_argument('--headless')(该‘浏览器不提供可视化页面’设置去掉)
2、添加不加载图片设置,提升速度:chrome_options.add_argument('blink-settings=imagesEnabled=false')
边栏推荐
- js的arguments
- CTF_ Web: Changan cup-2021 old but a little new & asuka
- Immutable learning road -- farewell to traditional copy
- Basic introduction of gbase 8s blocking technology
- Thorough understanding of database transactions
- Gbase 8s stored procedure execution and deletion
- LabVIEW development gas regulator
- The yii2 debug toolbar is missing
- ThinkPHP is integrated with esaywechat. What's wrong with wechat payment callback without callback?
- Solution of gbase 8s livelock and deadlock
猜你喜欢
![[untitled]](/img/68/5e711f7c473dcea54a56f7b7e48604.png)
[untitled]

单元测试覆盖率

Upgrade PHP to php7 The impact of X (2), the obsolescence of mcrypt decryption

Mongodb cluster

UCLA | generative pre training for black box optimization

JS arguments
![[esp32 learning path 6 - Flash encryption]](/img/4c/f317ca4823dca50a9bccd285967ab0.png)
[esp32 learning path 6 - Flash encryption]

Unity Quad culls shaders with back faces and transparent parts

Machine learning deep learning -- Vectorization

js的sort()函数
随机推荐
js中的concat()
Gbase 8s stored procedure execution and deletion
GBASE 8s的级联删除功能
GBASE 8s存储过程执行和删除
第九章 APP项目测试(2) 测试工具
leetcode1221. 分割平衡字符串
How to screen out words related to products and eliminate invalid words accurately
English Grammar - pronunciation rules
GBASE 8s存储过程流程控制
Detailed explanation of flex attributes in flex layout
Anaconda安装+TensorFlow安装+Keras安装+numpy安装(包含镜像和版本信息兼容问题)
Cnpm: unable to load file c:\users\administrator\appdata\roaming\npm\cnpm PS1 because running scripts is prohibited on this system.
A detailed summary of TCP connection triple handshake
2021.4.15 note the difference between let, const and VaR in ES6
SQL injection details
Structure syntaxique des procédures stockées gbase 8S
CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep
CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)
机器学习深度学习——向量化
CTF_ Web: Learn flask template injection (SSTI) from 0