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

Selenium wrapper to add additional features

Project Description

A front-end web testing tool in Python


We need a front-end testing tool that combines the strengths of existing tools


Features not listed below are assumed to be the same among the tools, ie. cross-browser testing

Capability Description Selenium Sahi Watir pytanium
Easy HTTPS Auto-accept SSL certs Yes Pro only Yes Yes
Prevent alerts/confirms/prompts Doesn’t block on these events No Yes No Yes*
Prevent print Doesn’t block on print No Yes No Yes*
AJAX waits Waits for AJAX calls to complete No Yes No Yes*
File downloads Allows files to be saved No Yes No No
Relational identifiers Identify objects using in, near, contains etc No Yes No To do
Recorder/Object spy Easy identification of elements Yes Yes No To do
Languages Programming languages Many JavaScript/Java/Ruby Ruby Python
Cross-domain support Consistent cross-domain support Yes Occasional configuration Yes Yes
Debugging Breakpoints and introspection Yes Sort of** Yes Yes
Technology Browser interaction method Native JavaScript events Native Native

*Works as long as the event isn’t triggered before the document is loaded

**Sahi supports running a script line by line. For introspection, JavaScript must be executed while the script is paused.


Pytanium uses the python binding for selenium. To provide the features not typically included with Selenium (AJAX waits, blocking print calls, etc), pytanium injects javascript on nearly every call to the browser. This doesn’t have a noticeable impact on performance.

Language Features

Pytanium makes it easy to switch from Selenium, Sahi, or Watir. In doing so, it supports a lot of the same syntax from each of these tools.


If you’re writing selenium with python you don’t have to change your existing code, it’s syntactically correct pytanium code.


Pytanium’s features are heavily inspired by Sahi, so a lot of Sahi’s syntax works.

Recorder/Object spy

Sahi has an excellent object spy and recorder. The pytanium recorder will be a fork of Sahi Open Source with added pytanium support.



Release History

Release History

This version
History Node


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
pytanium-0.1.win32.exe (205.5 kB) Copy SHA256 Checksum SHA256 any Windows Installer Oct 28, 2013 (9.2 kB) Copy SHA256 Checksum SHA256 Source Oct 28, 2013

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