当前位置:网站首页>成功解决: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')
边栏推荐
猜你喜欢

English Grammar - pronunciation rules

LabVIEW development gas regulator

Paper notes: multi label learning ESMC (I don't understand it, but I haven't written it yet, so I'll put it here for a place temporarily)

微信小程序父子组件之间传值

CTF_ Web: Advanced questions of attack and defense world expert zone WP (9-14)

Bingbing's learning notes: implementation of circular queue

CTF_ Web:php weak type bypass and MD5 collision

GBASE 8s 索引R树

A detailed summary of four handshakes (or four waves) over TCP connections

【esp32学习之路6——flash加密】
随机推荐
Anaconda installation +tensorflow installation +keras installation +numpy installation (including image and version information compatibility issues)
UCLA | generative pre training for black box optimization
使用文本分析识别一段文本中的主要性别
Data view for gbase 8s
什么是数据持久化?
OOP 向量加减(友元+拷贝构造)
第九章 APP项目测试(2) 测试工具
机器学习深度学习——向量化
分布式websocket搭建方案
2020.3.3 notes async/await and promise and Then processes and threads
STM32的DMA双缓冲模式详解
坐标系左乘右乘
Use of deferred environment variable in gbase 8s
LabVIEW development gas regulator
Failed to install redis interface
Retrofit 源码分析
Blob page in gbase 8s
Doubts about judging the tinyint field type of MySQL
CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep
Musk released humanoid robot. Why is AI significant to musk?