根本原因是加载内容过多,导致的超时。解决方法有两个:
1、临时解决方法:chrome_options.add_argument('--headless'),该‘浏览器不提供可视化页面’设置去掉
2、添加不加载图片设置,提升速度:chrome_options.add_argument('blink-settings=imagesEnabled=false')
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from rend
最新推荐文章于 2024-03-02 11:22:14 发布