当前位置:网站首页>成功解决: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')
边栏推荐
- PostgreSQL数据库WAL——RM_HEAP_ID日志记录动作
- 什么是数据持久化?
- OOP栈类模板(模板+DS)
- JS arguments
- 机器学习深度学习——向量化
- CTF_ Web: basic 12 questions WP of attack and defense world novice zone
- GBASE 8s的级联删除功能
- Use of deferred environment variable in gbase 8s
- Synchronous and asynchronous functions (callback function, promise, generator, async/await)
- Classification of gbase 8s locks
猜你喜欢

2.0SpingMVC使用RESTful

The solution of wechat applet switchtab unable to take parameters

Gbase 8s index b+ tree

LabVIEW development gas regulator

Simple text analysis of malicious samples - Introduction

PHP extracts and analyzes table contents, and collects bidding information

Part I Verilog quick start

Unity Quad culls shaders with back faces and transparent parts

CTF_ Web:php weak type bypass and MD5 collision

JS' sort() function
随机推荐
Vscode 设置clang-format
LabVIEW开发气体调节器
Mongodb cluster
SQL注入详解
CTF_ Web:8-bit controllable character getshell
领导:谁再用 Redis 过期监听实现关闭订单,立马滚蛋!
CTF_ Web: Advanced questions of attack and defense world expert zone WP (15-18)
CTF_ Web: Advanced questions of attack and defense world expert zone WP (19-21)
华为鸿蒙开发第四课
Introduction to intstream API
Simple text analysis of malicious samples - Introduction
单元测试覆盖率
jsz中的join()
PostgreSQL数据库WAL——RM_HEAP_ID日志记录动作
Multithreading structure of gbase 8s
Unit test coverage
Introduction to the isolation level of gbase 8s
Bingbing's learning notes: implementation of circular queue
How to screen out words related to products and eliminate invalid words accurately
Join() in JSZ