selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from rend

    科技2026-08-27  19

    最近跑自动化测试时遇到的问题,先放到这,后续再深入研究

    "C:\Program Files\python\python.exe" F:/python/Login—.py Traceback (most recent call last):   File "F:/python/Login—.py", line 28, in <module>     driver.get(url_1)   File "C:\Program Files\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get     self.execute(Command.GET, {'url': url})   File "C:\Program Files\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute     self.error_handler.check_response(response)   File "C:\Program Files\python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response     raise exception_class(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 299.225   (Session info: chrome=85.0.4183.121)

     

     

    Processed: 0.008, SQL: 10