splinter


Namesplinter JSON
Version 0.21.0 PyPI version JSON
download
home_pagehttps://github.com/cobrateam/splinter
Summarybrowser abstraction for web acceptance testing
upload_time2024-01-16 00:59:04
maintainer
docs_urlNone
authorCobraTeam
requires_python
licenseBSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            ++++++++
splinter
++++++++

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

.. image:: https://img.shields.io/pypi/v/splinter.svg
    :target: https://pypi.org/project/splinter
    :alt: PyPI

.. image:: https://img.shields.io/pypi/pyversions/splinter.svg
    :alt: PyPI - Python Version
    :target: https://github.com/cobrateam/splinter

.. image:: https://img.shields.io/github/license/cobrateam/splinter.svg
   :alt: GitHub
   :target: https://github.com/cobrateam/splinter/blob/master/LICENSE

.. image:: https://github.com/cobrateam/splinter/actions/workflows/main.yml/badge.svg
   :target: https://github.com/cobrateam/splinter/actions/workflows/main.yml
   :alt: Build status


* `Documentation <https://splinter.readthedocs.io>`_

* `Changelog <https://splinter.readthedocs.io/en/latest/news.html>`_

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
-------

.. code:: python

   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
===============

* `Installation <https://splinter.readthedocs.io/en/latest/install/install.html>`_

* `Tutorial <https://splinter.readthedocs.io/en/latest/tutorial.html>`_


Pytest Plugins
==============

* `pytest-splinter <http://pytest-splinter.readthedocs.io>`_, Splinter plugin for the `py.test <http://docs.pytest.org>`_ runner.


Page Objects
============

Support for page objects is available through the following package:

* `Stere <https://stere.readthedocs.io/>`_

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cobrateam/splinter",
    "name": "splinter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "CobraTeam",
    "author_email": "andrewsmedina@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/fd/7f/afb1788635b3532dfb9e2f21698ce8825e99714750ae4bf30bbc3ecaa9d5/splinter-0.21.0.tar.gz",
    "platform": null,
    "description": "++++++++\nsplinter\n++++++++\n\nSplinter is a Python framework that provides a simple and consistent interface for web application automation.\n\n.. image:: https://img.shields.io/pypi/v/splinter.svg\n    :target: https://pypi.org/project/splinter\n    :alt: PyPI\n\n.. image:: https://img.shields.io/pypi/pyversions/splinter.svg\n    :alt: PyPI - Python Version\n    :target: https://github.com/cobrateam/splinter\n\n.. image:: https://img.shields.io/github/license/cobrateam/splinter.svg\n   :alt: GitHub\n   :target: https://github.com/cobrateam/splinter/blob/master/LICENSE\n\n.. image:: https://github.com/cobrateam/splinter/actions/workflows/main.yml/badge.svg\n   :target: https://github.com/cobrateam/splinter/actions/workflows/main.yml\n   :alt: Build status\n\n\n* `Documentation <https://splinter.readthedocs.io>`_\n\n* `Changelog <https://splinter.readthedocs.io/en/latest/news.html>`_\n\nKey features:\n\n- Easy to learn: The API is designed to be intuitive and quick to pick up.\n- Faster to code: Automate browser interactions quickly and reliably without fighting the tool.\n- Powerful: Designed for real world use cases, it guards against common automation quirks.\n- Flexible: Access to lower level tools is never hidden. Break out into raw Selenium at any time.\n- Robust: Support is available for multiple automation drivers (Selenium, Django, Flask, ZopeTestBrowser).\n\nExample\n-------\n\n.. code:: python\n\n   from splinter import Browser\n\n\n   browser = Browser('firefox')\n   browser.visit('http://google.com')\n   browser.find_by_name('q').fill('splinter - python acceptance testing for web applications')\n   browser.find_by_name('btnK').click()\n\n   if browser.is_text_present('splinter.readthedocs.io'):\n       print(\"Yes, the official website was found!\")\n   else:\n       print(\"No, it wasn't found... We need to improve our SEO techniques\")\n\n   browser.quit()\n\n\nGetting Started\n===============\n\n* `Installation <https://splinter.readthedocs.io/en/latest/install/install.html>`_\n\n* `Tutorial <https://splinter.readthedocs.io/en/latest/tutorial.html>`_\n\n\nPytest Plugins\n==============\n\n* `pytest-splinter <http://pytest-splinter.readthedocs.io>`_, Splinter plugin for the `py.test <http://docs.pytest.org>`_ runner.\n\n\nPage Objects\n============\n\nSupport for page objects is available through the following package:\n\n* `Stere <https://stere.readthedocs.io/>`_\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "browser abstraction for web acceptance testing",
    "version": "0.21.0",
    "project_urls": {
        "Changelog": "https://github.com/cobrateam/splinter/tree/master/docs/news",
        "Documentation": "https://splinter.readthedocs.io/",
        "Homepage": "https://github.com/cobrateam/splinter",
        "Source": "https://github.com/cobrateam/splinter/",
        "Tracker": "https://github.com/cobrateam/splinter/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1067ecd32a6a634e10a222aabe2b0a15b19857013ec8b1150cc664df79c025fa",
                "md5": "c9c5d32f30bbb1e8b30933f0e1a8203c",
                "sha256": "4c9e5962ce25f468b2dd52effbd1445afd7466740f238e564c6b70f7fda9368f"
            },
            "downloads": -1,
            "filename": "splinter-0.21.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c9c5d32f30bbb1e8b30933f0e1a8203c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 40812,
            "upload_time": "2024-01-16T00:59:02",
            "upload_time_iso_8601": "2024-01-16T00:59:02.710860Z",
            "url": "https://files.pythonhosted.org/packages/10/67/ecd32a6a634e10a222aabe2b0a15b19857013ec8b1150cc664df79c025fa/splinter-0.21.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fd7fafb1788635b3532dfb9e2f21698ce8825e99714750ae4bf30bbc3ecaa9d5",
                "md5": "60e98de0e5eb2ff87b44a38be9daf60c",
                "sha256": "60cbbec9209acefccf39608d677eecdb248bbd700023663ce406595322c38fe5"
            },
            "downloads": -1,
            "filename": "splinter-0.21.0.tar.gz",
            "has_sig": false,
            "md5_digest": "60e98de0e5eb2ff87b44a38be9daf60c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 30896,
            "upload_time": "2024-01-16T00:59:04",
            "upload_time_iso_8601": "2024-01-16T00:59:04.874722Z",
            "url": "https://files.pythonhosted.org/packages/fd/7f/afb1788635b3532dfb9e2f21698ce8825e99714750ae4bf30bbc3ecaa9d5/splinter-0.21.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-16 00:59:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cobrateam",
    "github_project": "splinter",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "splinter"
}
        
Elapsed time: 0.19236s