TA的每日心情 | 无聊 2018-8-7 14:54 |
---|
签到天数: 2 天 连续签到: 1 天 [LV.1]测试小兵
|
用wait_for_page_to_load("30000"),在firefox下跑没问题,在ie下跑就出如下的问题,请高手指教:
======================================================================
ERROR: test_untitled (__main__.Untitled)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Documents and Settings\allenlee.li\Desktop\Untitled 2.py", line 15, in test_untitled
sel.wait_for_page_to_load("30000")
File "C:\Python26\lib\selenium.py", line 1751, in wait_for_page_to_load
self.do_command("waitForPageToLoad", [timeout,])
File "C:\Python26\lib\selenium.py", line 217, in do_command
raise Exception, data
Exception: Timed out after 30000ms
----------------------------------------------------------------------
Ran 1 test in 51.046s
FAILED (errors=1) |
|