Skip to main content
PyPI PyPI - Python Version GitHub Build status

splinter - python tool for testing web applications

splinter is an open source tool for testing web applications using Python. It lets you automate browser actions, such as visiting URLs and interacting with their items.

Sample code

from cksplinter import Browser

browser = Browser()
browser.visit('http://google.com')
browser.fill('q', '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()

Note: if you don’t provide any driver argument to the Browser function, firefox will be used (Browser function documentation).

Changelog

First steps

Splinter open source project

Documentation

Pytest Plugins

Page Objects

Support for page objects is available through the following package:

Deprecated projects:

  • PyPOM, A base page object model for use with Selenium or Splinter functional tests.

  • pypom_form, A PyPOM based package that provides declarative schema based form interaction for page object models compatible with Splinter.

Other Projects Using Splinter

Presentations & Tutorials

Metadata

Release files for cksplinter 0.17.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cksplinter 0.17.4
File Size Uploaded Provenance Actions
cksplinter-0.17.4.tar.gz 29.1 kB Without provenance Details for cksplinter-0.17.4.tar.gz

Release files / cksplinter-0.17.4.tar.gz

Download URL cksplinter-0.17.4.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1ab9a81c95140976eafcb7d5b61717b36bb9bb62cedda0140ef02f7e02b6733b
BLAKE2b-256 checksum
How to use checksums
1fa54a8f6f090246952141de0a9a98531ea2ea9999951f2a06af5d3f7769e931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for cksplinter 0.17.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page