该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
Traceback (most recent call last):
File "D:/tool/python/pycharm/py/day02.py", line 4, in
driver=webdriver.Firefox()
File "D:\tool\python\Python27\lib\site-packages\selenium-2.53.6-py2.7.egg\selenium\webdriver\firefox\webdriver.py", line 80, in __init__
self.binary, timeout)
File "D:\tool\python\Python27\lib\site-packages\selenium-2.53.6-py2.7.egg\selenium\webdriver\firefox\extension_connection.py", line 50, in __init__
self.profile.add_extension()
File "D:\tool\python\Python27\lib\site-packages\selenium-2.53.6-py2.7.egg\selenium\webdriver\firefox\firefox_profile.py", line 92, in add_extension
self._install_extension(extension)
File "D:\tool\python\Python27\lib\site-packages\selenium-2.53.6-py2.7.egg\selenium\webdriver\firefox\firefox_profile.py", line 262, in _install_extension
if not os.path.isdir(os.path.dirname(os.path.join(tmpdir, name))):
File "D:\tool\python\Python27\lib\ntpath.py", line 85, in join
result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5 in position 7: ordinal not in range(128)