Changes between Version 2 and Version 3 of webtest/install_selenium
- Timestamp:
- 11/21/2013 05:44:11 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
webtest/install_selenium
v2 v3 1 安装selenium模块,我们需要先安装setuptools [[BR]] 2 setuptools是 Python Enterprise Application Kit(PEAK)的一个副项目,它 是一组Python的 distutilsde工具的增强工具,可以让程序员更方便的安装模块,创建和发布 Python 包,特别是那些对其它包具有依赖性的状况 3 1. 下载setuptoos,下载地址:https://pypi.python.org/pypi/setuptools/1.1 1 安装selenium模块,[[BR]] 2 1. 下载selenium python 模块,下载地址:https://pypi.python.org/pypi/selenium 4 3 [[BR]] 5 2. 解压setuptoos-1.1.targ.gz,解压后找到ez_setup.py,双击执行安装4 2. 下载后解压selenium2.37.2.tar.gz 6 5 [[BR]] 7 3. 安装后进入c:/Python27/Scripts,发现这时,存在easy_install.exe文件了,将c:/Python27/Scripts,设置到path环境变量中 8 [[BR]] 9 4. 打开运行对话框,输入cmd,在命令模式下运行: easy_install selenium, 等待安装完毕。 6 3. 打开运行对话框,输入cmd,在命令模式下,进入selenium2.37.2解压的目录,执行python setup.py install命令
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)