【IT之路】Python+Selenium实现UI自动化:软件安装

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/mwb2001/article/details/89636814

python-2.7.12.amd64

cmd更新自带pip版本:从 pip 8.1.1 到 pip-19.1
python -m pip install --upgrade pip

pip安装 setuptools-20.1.0.1
pip install setuptools

以setuptools版本太高为例,版本太高问题的解决方案
先卸载旧版本,再重新下载。
pip uninstall setuptools
pip install setuptools==20.1.0.1

安装RF
pip install robotframework==2.8.7

Successfully installed Pillow-6.0.0 six-1.12.0 wxPython-4.0.4
安装 wxPython-4.0.4  
pip install -U wxPython==4.0.4

安装RIDE---- robotframework-ride-1.5.2.1
pip install -U robotframework-ride==1.5.2.1


Successfully installed decorator-4.4.0 docutils-0.14 robotframework-selenium2lib
rary-1.5.0 selenium-3.141.0 urllib3-1.25.1
pip install -U urllib3==1.25.1

安装Selenium2Library----robotframework-selenium2library-1.5.0.win-amd64.exe
pip install -U robotframework-selenium2library==1.5.0

谷歌驱动接口文档
https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/chrome/ChromeDriverService.html

猜你喜欢

转载自blog.csdn.net/mwb2001/article/details/89636814