Skip to main content

browser abstraction for web acceptance testing

Project description

Splinter is a Python framework that provides a simple and consistent interface for web application automation.

PyPI PyPI - Python Version GitHub Build status

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).


from splinter import Browser

browser = Browser('firefox')
browser.find_by_name('q').fill('splinter - python acceptance testing for web applications')

if browser.is_text_present(''):
    print("Yes, the official website was found!")
    print("No, it wasn't found... We need to improve our SEO techniques")


Getting Started

Pytest Plugins

Page Objects

Support for page objects is available through the following package:

Download files

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

Source Distribution

splinter-0.20.1.tar.gz (30.8 kB view hashes)

Uploaded source

Built Distribution

splinter-0.20.1-py3-none-any.whl (40.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page