发布时间:2019-08-12 11:50:48编辑:auto阅读(2819)
下载seleniumRC
启动selenium server: java -jar selenium-server.jar
下载python的selenium包
如果python里有pip install -U selenium
自动下载安装后,selenium包自动安装到python的lib里
IE
self.selenium = selenium("localhost", 4444, "*iexplore", "http://www.baidu.com/")
chrome
self.selenium = selenium("localhost", 4444, "*googlechrome", "http://www.baidu.com/")
firefox
上一篇: python web开发--web前端开
下一篇: Python - 统计MAC地址
55070
41872
36464
31859
26769
26446
24980
20593
16516
15929
3121°
2829°
2923°
3077°
3008°
3281°
3173°
3010°
2996°
2981°