Skip to main content

browser abstraction for web acceptance testing

Project description

https://secure.travis-ci.org/cobrateam/splinter.svg?branch=master

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 splinter import Browser

browser = Browser()
browser.visit('http://google.com')
browser.fill('q', 'splinter - python acceptance testing for web applications')
browser.find_by_name('btnG').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).

What’s new in splinter?

First steps

Splinter open source project

Documentation

Project details


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.12.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

splinter-0.12.0-py2-none-any.whl (32.9 kB view details)

Uploaded Python 2

File details

Details for the file splinter-0.12.0.tar.gz.

File metadata

  • Download URL: splinter-0.12.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.10

File hashes

Hashes for splinter-0.12.0.tar.gz
Algorithm Hash digest
SHA256 96bfb1e8a1fbc48f5d507ed8f6a87dca2d7b973093d09a668abb57caff57365d
MD5 8fe41105f76f852fca806a74a8f1a3e3
BLAKE2b-256 8f1eeecb16cefcd8edf0df7c66dbbe368223954352b1729c024b2e4c2ba032a0

See more details on using hashes here.

Provenance

File details

Details for the file splinter-0.12.0-py2-none-any.whl.

File metadata

  • Download URL: splinter-0.12.0-py2-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.10

File hashes

Hashes for splinter-0.12.0-py2-none-any.whl
Algorithm Hash digest
SHA256 df74fa5a0916e05026d8d8ed997577e18a14d5d45e920a4895e87dc86e813241
MD5 8d56656571e2c82db70f7ab5890a8ca4
BLAKE2b-256 d932273304a380fc5d244a0a07fb36627e7faa2597f574e2bdb328debf24e02d

See more details on using hashes here.

Provenance

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