Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

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
Release History

Release History

This version
History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
haufe.selenium-0.3.0.tar.gz (5.2 MB) Copy SHA256 Checksum SHA256 Source Feb 17, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting