zc.buildout安装selenium rc发行版的方法。
collective.recipe.seleniumrc的Python项目详细描述
这个包使用zc.buildout下载并安装selenium rc。它是基于 在hexagonit.recipe.download上。
buildout.cfg示例:
[buildout] parts = seleniumrc [seleniumrc] recipe = collective.recipe.seleniumrc
如果未指定任何选项,则从 http://selenium.googlecode.com/files/selenium-server-standalone-2.6.0.jar。
基于部件名称创建控制脚本。在上面的例子中, 创建的控制脚本是bin/seleniumrc。
仅供参考,pythonselenium模块允许控制selenium rc。
http://pypi.python.org/pypi/selenium
配方还允许您选择要使用的硒RC的确切版本:
[buildout] parts = seleniumrc [seleniumrc] recipe = collective.recipe.seleniumrc url = http://selenium.googlecode.com/files/selenium-server-standalone-2.0rc1.jar md5sum = 19ac13b18cdc6840dd32678215d38e1b
如果您仍然需要使用selenium rc 1.x,您需要询问 明确地解压缩下载:
[buildout] parts = seleniumrc [seleniumrc] recipe = collective.recipe.seleniumrc url = http://selenium.googlecode.com/files/selenium-remote-control-1.0.3.zip md5sum = 8935cc7fe4dde2fd2a95ddd818e7493b download-only = false
有时,您可能希望使用另一个Java可执行文件:
[buildout] parts = seleniumrc [seleniumrc] recipe = collective.recipe.seleniumrc java-cmd = /home/www/java/bin/java
抑制所有默认值(例如,安装时不验证md5 校验和),使用“无默认值”选项:
[buildout] parts = seleniumrc [seleniumrc] recipe = collective.recipe.seleniumrc url = http://selenium.googlecode.com/files/selenium-remote-control-1.0.3.zip java-cmd = /home/www/java/bin/java no-defaults = True
许可证
开源许可证-Zope Public License v2.1
贡献者
Jordan Baker(Hexsprite),作者-jbb<;at>;scryent.com
asheesh laroia-asheesh<;at>;creativecommons.org
hanno schlichting-hannosch<;at>;plone.org
戈德弗罗德夏贝尔-明白了<;at>;bubblenet.be
梅克·罗德尔-罗德<;at>;berg.net
tres seaver-tsaver<;at>;palladion.com
marc abramowitz-marc<;at>;marc-abramowitz.com
更改历史记录
0.6.1.1(2011-09-16)
- 也更新了自述文件。
0.6.1(2011-09-16)
- 将Selenium RC的默认版本更新为最新版本(2.6.0)。
0.6(2011-06-21)
- 将默认的selenium rc版本更新为最新版本(2.0rc 2)。谢谢 给马克·阿布拉莫维茨打补丁。
0.5(2010-11-02)
- 将Selenium RC的默认版本更新为最新版本(1.0.3)。
- 添加了抑制所有默认配置值的支持,使用 “无默认值”。
0.4(2010-08-11)
- 使Runner Shell了解Firefox 3.5。
- 使配方与1.0.3版本的Selenium RC兼容。
0.3(2009-11-30)
- 将runner shell从/bin/sh改为/bin/bash以避免系统出现问题 在哪里/bin/sh!=/bin/巴什。[六角体]
- 添加有关选择Selenium RC版本的文档,以及 选择准确的Java二进制文件[maikroeder]
- 更新至最新版本的SeleniumRC 1.0.1。[迈克罗德]
- 更新了long_的描述以继续使用pypi。仍然需要一些格式 工作。[六角体]
0.2(2009-02-1)
- 已更新至最新版本的SeleniumRC 1.0-Beta-2。 [汉诺什]
- 添加了补丁以在公共位置的路径中查找firefox。补充 moz_no_remote环境变量以强制firefox生成新实例。 (来自Asheesh Laroia的补丁)
- 修复为使用Selenium 1.0 Beta 1。(来自Asheesh Laroia的补丁)
- 默认分布更改为Selenium 1.0 Beta 1
0.1
- 最初的版本是在2007年那不勒斯的plone会议上创建的。[六角体]