GithubHelp home page GithubHelp logo

niyazof / splinter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cobrateam/splinter

0.0 0.0 0.0 4.33 MB

splinter - python test framework for web applications

Home Page: http://splinter.readthedocs.org/en/stable/index.html

License: BSD 3-Clause "New" or "Revised" License

Shell 0.20% Python 94.81% HTML 4.99%

splinter's Introduction

splinter

Splinter is a Python framework that provides a simple and consistent interface for web application automation.

PyPI PyPI - Python Version GitHub Build status

Key features:

  • Easy to learn: The API is designed to be intuitive and quick to pick up.
  • Faster to code: Automate browser interactions quickly and reliably without fighting the tool.
  • Powerful: Designed for real world use cases, it guards against common automation quirks.
  • Flexible: Access to lower level tools is never hidden. Break out into raw Selenium at any time.
  • Robust: Support is available for multiple automation drivers (Selenium, Django, Flask, ZopeTestBrowser).

Example

from splinter import Browser


browser = Browser('firefox')
browser.visit('http://google.com')
browser.find_by_name('q').fill('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()

Getting Started

Pytest Plugins

Page Objects

Support for page objects is available through the following package:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.