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

Uploaded Source

Built Distribution

splinter-0.14.0-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: splinter-0.14.0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for splinter-0.14.0.tar.gz
Algorithm Hash digest
SHA256 459e39e7a9f7572db6f1cdb5fdc5ccfc6404f021dccb969ee6287be2386a40db
MD5 b4a3e4592bc156de64a086cac73d1d58
BLAKE2b-256 0d50c5738d1b7e0e8917a7d0dbf5edb00109ab10594628a66a08466a116bf3e1

See more details on using hashes here.

Provenance

File details

Details for the file splinter-0.14.0-py3-none-any.whl.

File metadata

  • Download URL: splinter-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for splinter-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5e69c5b76ada909283465cdc3636e2632f7e557932ce96ab9c0432b0b32f7f
MD5 8c3590a4454d1b85b12d0a88322097ae
BLAKE2b-256 f894836feeefcc8af55cba5ea9716b83c665fd85ae9e1d81e22ae73357bf61cf

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