A Python wrapper for controlling the Selenium Remote Server
Project description
haufe.selenium
A wrapper for controlling the Selenium remote server. The Selenium RC server is a Java-based server for the remote executing of Selenium tests.
See also:
http://www.openqa.org/selenium-rc/
Installation
Use easy_install:
easy_install --no-deps haufe.selenium
Usage
You can control the server process using selsrvctl:
selsrvctl start | stop | status | foreground | fg
SeleniumTestcase
haufe.selenium also provides a dedicated testcase that should be used as a base class for all Selenium related unittests.
Configuration through environment variables:
SELENIUM_HOST - defines the hostname where the Selenium remote server is running
SELENIUM_PORT - defines the port of the Selenium remote server
SELENIUM_BROWSER - the browser name to be used for running tests (*iexplore, *firefox, …). Check the Selenium RC server documentation for details
SELENIUM_INSTANCE_URL - the base URL of the webserver to be used to run the test against. The URL must not contain any path information - only something like:
http://host:port
Licence
This package is released under the LGPL 2.1. See LICENSE.txt.
Copyright
haufe.selenium is (C) Andreas Jung & Haufe Mediengruppe, D-79111 Freiburg, Germany
Changes:
0.3.0 (17.02.2010)
updated to Selenium RC V 1.0.1
0.2.1 (05.05.2008)
added support for several SELENIUM_INSTANCE_URLxxx’ environment variables
added environment variable SELENIUM_HTTPS_PORT
0.2.0 (23.10.2007)
first public releasde
0.1.3 (02.10.2007)
updated selenium.py (from V 0.9.2)
overriding selenium.click() in order to capture Haufe-specific error messages
0.1.2 (26.09.2007)
added module level aliases for SeleniumTestcase and selenium_enabled
updated to official Selenium RC V 0.9.2 server
0.1.1 (20.08.2007)
testing: explicit check for Selenium server
added testing.selenium_enabled flag
basic support for starting the Selenium server in foregground on Windows systems
0.1.0 (11.09.2007)
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.