
selenium
nica_
这个作者很懒,什么都没留下…
展开
-
[mark]Chrome webdriver 下载
下载链接:http://chromedriver.storage.googleapis.com/index.htmltips:在每个webdriver版本文件中,可以通过notes.txt 文件查看 Supports Chrome version原创 2017-06-21 16:51:08 · 1108 阅读 · 0 评论 -
学习selenium + Python 遇到的问题
1. UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 0: unexpected end of data原因:Python语言不支持utf-8的编码 所以需要用'u'声明中文的编码是utf-8 。u类似于java中的String正确代码:driver.find_element_by_id("kw").原创 2017-07-22 19:00:27 · 276 阅读 · 0 评论