splinter
Splinter is a Python framework that provides a simple and consistent interface for web application automation.
Key features:
Easy to learn: The API is designed to be intuitive and quick to pick up.
Faster to code: Automate browser interactions quickly and reliably without fighting the tool.
Powerful: Designed for real world use cases, it guards against common automation quirks.
Flexible: Access to lower level tools is never hidden. Break out into raw Selenium at any time.
Robust: Support is available for multiple automation drivers (Selenium, Django, Flask, ZopeTestBrowser).
Example
from splinter import Browser
browser = Browser('firefox')
browser.visit('http://google.com')
browser.find_by_name('q').fill('splinter - python acceptance testing for web applications')
browser.find_by_name('btnK').click()
if browser.is_text_present('splinter.readthedocs.io'):
print("Yes, the official website was found!")
else:
print("No, it wasn't found... We need to improve our SEO techniques")
browser.quit()
Getting Started
Pytest Plugins
pytest-splinter, Splinter plugin for the py.test runner.
Page Objects
Support for page objects is available through the following package:
Metadata
Release files for splinter 0.21.0
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 |
|---|---|---|---|---|
| splinter-0.21.0.tar.gz | 30.9 kB | Without provenance | Details for splinter-0.21.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| splinter-0.21.0-py3-none-any.whl | Python 3 | none | any | Details for splinter-0.21.0-py3-none-any.whl |
Total release size: 71.7 kB
Release files / splinter-0.21.0.tar.gz
| Download URL | splinter-0.21.0.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60cbbec9209acefccf39608d677eecdb248bbd700023663ce406595322c38fe5
|
|
BLAKE2b-256 checksum How to use checksums |
fd7fafb1788635b3532dfb9e2f21698ce8825e99714750ae4bf30bbc3ecaa9d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / splinter-0.21.0-py3-none-any.whl
| Download URL | splinter-0.21.0-py3-none-any.whl |
|---|---|
| Size | 40.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c9e5962ce25f468b2dd52effbd1445afd7466740f238e564c6b70f7fda9368f
|
|
BLAKE2b-256 checksum How to use checksums |
1067ecd32a6a634e10a222aabe2b0a15b19857013ec8b1150cc664df79c025fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Security for splinter 0.21.0
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.