pytanium
A front-end web testing tool in Python
Why
We need a front-end testing tool that combines the strengths of existing tools
Comparison
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.
How
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.
Selenium
If you’re writing selenium with python you don’t have to change your existing code, it’s syntactically correct pytanium code.
Sahi
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.
License
LGPL
Metadata
Release files for pytanium 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytanium-0.1.zip | 9.2 kB | Without provenance | Details for pytanium-0.1.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytanium-0.1.win32.exe | Details for pytanium-0.1.win32.exe |
Total release size: 214.6 kB
Release files / pytanium-0.1.zip
| Download URL | pytanium-0.1.zip |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92f95008854ebb702d9bcb9952306d30e87c00376e5484da69bd30e9b0404684
|
|
BLAKE2b-256 checksum How to use checksums |
c878724b74a9f4e913a30b7c788dda26c74f5dcb350a7091c5e4faaca2155bfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytanium-0.1.win32.exe
| Download URL | pytanium-0.1.win32.exe |
|---|---|
| Size | 205.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac4445d5c88c306d5cd17dad0a749869777627612a88add8654058719e31a699
|
|
BLAKE2b-256 checksum How to use checksums |
469365c149b6edfd22c58920efec0e0661306f1335d841e80d829a0b68e92d22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytanium 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.