发布时间:2019-08-12 11:50:48编辑:auto阅读(2805)
下载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地址
54956
41752
36339
31771
26671
26363
24886
20493
16435
15853
2983°
2709°
2809°
2955°
2893°
3153°
3044°
2889°
2880°
2859°