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

Uploaded Source

Built Distribution

splinter-0.11.0-py2-none-any.whl (31.9 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: splinter-0.11.0.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1

File hashes

Hashes for splinter-0.11.0.tar.gz
Algorithm Hash digest
SHA256 170d21d4f04f8c5c076a34716e36779f07f3533d3b3d8a82523993b21b40bb35
MD5 c3a0c73de3caade6ac9b7e0b15b94d75
BLAKE2b-256 4e336d6e3abeb0fa47284f2d3b74de7f72018a3af0267b0752b9e7c66175c99e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: splinter-0.11.0-py2-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1

File hashes

Hashes for splinter-0.11.0-py2-none-any.whl
Algorithm Hash digest
SHA256 c5d40b8ee480d1c1c33f085c3fdfe9fd32b9ce22515f46cfde179966452d020a
MD5 9bc63e53d3e75b6fdaf77353d1bf74ec
BLAKE2b-256 f4843c389604d930e232b08d149e37aa81a435f2ac6a232c3bfdd51a992a677a

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