selenium3+python3
Posted emma0804
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了selenium3+python3相关的知识,希望对你有一定的参考价值。
1、python版本:python3.5.4
2、selenium 3
3、chrome版本52.0.02743.82
4、安装webdriver并将放置于python同一路径下
example:
from selenium import webdriver
print(‘the first‘)
driver = webdriver.Chrome()
driver.get(‘https://www.baidu.com‘)
driver.find_element_by_id(‘kw‘).send_keys(‘自动化测试‘)
以上是关于selenium3+python3的主要内容,如果未能解决你的问题,请参考以下文章