Skip to content

Shoobx/splinter

This branch is 2 commits ahead of, 215 commits behind cobrateam/splinter:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Jordan Vance
Jun 17, 2022
17e3929 · Jun 17, 2022
Jun 11, 2022
Jun 10, 2022
Jun 3, 2022
Apr 2, 2021
Jun 17, 2022
Jun 10, 2022
Jun 4, 2012
Aug 3, 2017
Dec 9, 2021
Jun 4, 2012
Oct 8, 2011
Jun 11, 2022
May 3, 2022
Jun 4, 2012
Mar 22, 2022
Jan 4, 2022

Repository files navigation

PyPI PyPI - Python Version GitHub Build status

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('btnK').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).

Changelog

First steps

Splinter open source project

Documentation

Pytest Plugins

Page Objects

Support for page objects is available through the following package:

Deprecated projects:
  • PyPOM, A base page object model for use with Selenium or Splinter functional tests.
  • pypom_form, A PyPOM based package that provides declarative schema based form interaction for page object models compatible with Splinter.

Other Projects Using Splinter

Presentations & Tutorials

Packages

No packages published

Languages

  • Python 94.2%
  • HTML 5.3%
  • Other 0.5%