Skip to main content
Help us improve Python packaging – donate today!

Some selenium infrastructure for testing.

Project Description

Selenic is a collection of Python code which is used for testing browser-based software through Selenium. It is tailored for the projects at Mangalam Research.

If you want to run tests in Chrome, you only need chromedriver. Chromedriver is here. The documentation for its use is here.

Please look at the examples in examples and read the source code to know how this all works.

Selenium Issues

Native Events

It is very often the case that tests which work with native events fail when using synthetic events. Keep this in mind.

Misc

  • Selenium 2.35.0: ActionChains.send_keys is broken. Selenic patches ActionChains to fix this problem.
  • Selenium 2.35.0: It is impossible to know whether a Firefox instance is able to handle native events or not. Firefox 22 with 2.35.0 is known to handle native events.

Debugging the Firefox Driver

  1. Download the version of Selenium that corresponds to whatever API you are using.

  2. Unzip.

  3. Edit javascript/firefox-driver/build.desc to eliminate the platform binaries you do not need. These look like paths of the form platform/Linux.... Some are for Windows. (This saves a huge amount of build time and space).

  4. Issue:

    $ bash ./go //javascript/firefox-driver:webdriver
    

Release history Release notifications

History Node

0.12.1

History Node

0.12.0

History Node

0.11.0

History Node

0.10.0

History Node

0.9.0

History Node

0.8.0

History Node

0.7.0

History Node

0.6.1

History Node

0.6.0

History Node

0.5.0

History Node

0.4.0

History Node

0.2.0

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
selenic-0.1.2.tar.gz (7.1 kB) Copy SHA256 hash SHA256 Source None Jan 31, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page