Skip to main content

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

Project details


Download files

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

Source Distribution

haufe.selenium-0.3.0.tar.gz (5.2 MB view details)

Uploaded Source

File details

Details for the file haufe.selenium-0.3.0.tar.gz.

File metadata

File hashes

Hashes for haufe.selenium-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6afe6d3efe71511ba24456849a15ec2b8156788b251edf6c21143ecf3b1f198f
MD5 33cf6f6fa934b793125986d8c0864f2c
BLAKE2b-256 5ecf854f462763d07a5358fdf3e49257ed367fac10b4399fc4b6c466d46a88ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page