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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

splinter-0.13.0-py2-none-any.whl (34.4 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: splinter-0.13.0.tar.gz
  • Upload date:
  • Size: 25.3 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.13.0.tar.gz
Algorithm Hash digest
SHA256 9e92535f273622507ac157612c3bb0e9cee7b5ccd2aa097d47b408e34c2ca356
MD5 75c0744062524ed1a064f72d3f80bf57
BLAKE2b-256 d146bb01079ef246d61c2432420c6cd63ecb11e0e909a5da42abcb407e0fb4e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: splinter-0.13.0-py2-none-any.whl
  • Upload date:
  • Size: 34.4 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.13.0-py2-none-any.whl
Algorithm Hash digest
SHA256 62b5876757f0ac09324a7d5e5f94886110219c2b85300516ec39a914d7992d91
MD5 3d6f1a96a5248d4b4e84a44bd010fe4e
BLAKE2b-256 66312d73dc37da65eba19dfb08fdb02324cdfd69a60ff868b5930adf98c277c0

See more details on using hashes here.

Supported by

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