TA的每日心情 | 擦汗 3 天前 |
---|
签到天数: 527 天 连续签到: 4 天 [LV.9]测试副司令
|
1测试积点
我尝试打开百度www.baidu.com,没有问题。
- 但是打开我要测试的网页时,出现了问题:
- Traceback (most recent call last):
- File "C:/Users/Administrator/PycharmProjects/yangoWebTest/utils/Run.py", line 29, in __init__
- self.driver.get(self.base_url)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python38\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get
- self.execute(Command.GET, {'url': url})
- File "C:\Users\Administrator\AppData\Roaming\Python\Python38\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
- self.error_handler.check_response(response)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python38\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: 19.777
- (Session info: chrome=86.0.4240.111)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:/Users/Administrator/PycharmProjects/yangoWebTest/utils/Run.py", line 39, in <module>
- run = Run()
- File "C:/Users/Administrator/PycharmProjects/yangoWebTest/utils/Run.py", line 33, in __init__
- raise Exception
- Exception
复制代码
之前试过很多次,都没有出现过这个问题,但是现在突然打不开了这个url了,是出了什么问题呢?
补充:手动可打开上面的网页,但是自动测试就会超时,虽然说将等待加载时长加长之后最终会打开,但是还是会影响测试,不像之前那么顺畅了
|
|