selenium RC 与python集

2023-01-31 01:01:51 python selenium rc

下载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



相关文章