TA的每日心情 | 开心 2017-2-23 09:15 |
---|
签到天数: 13 天 连续签到: 1 天 [LV.3]测试连长
|
3#
楼主 |
发表于 2016-12-1 17:03:50
|
只看该作者
======================================================================
ERROR: test_ (__main__.test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "F:\萝卜头自动化脚本\管理平台\xitongguanl.py", line 26, in test_
driver.find_element_by_link_text(u"绯荤粺绠$悊").click()
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 317, in find_element_by_link_text
return self.find_element(by=By.LINK_TEXT, value=link_text)
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 752, in find_element
'value': value})['value']
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: Unable to locate element: \u7cfb\u7edf\u7ba1\u7406
----------------------------------------------------------------------
Ran 1 test in 38.389s
FAILED (errors=1)
调用谷歌跑程序这里没有错,狐火就会报错 |
|