Metadata-Version: 2.0 Name: splinter Version: 0.17.0 Summary: browser abstraction for web acceptance testing Home-page: https://github.com/cobrateam/splinter Author: CobraTeam Author-email: andrewsmedina@gmail.com License: BSD Platform: UNKNOWN Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Provides-Extra: zope.testbrowser Provides-Extra: django Provides-Extra: edge Provides-Extra: flask Provides-Extra: selenium3 Provides-Extra: selenium4 Provides-Extra: django Requires-Dist: Django (>=2.0.6); extra == 'django' Requires-Dist: cssselect; extra == 'django' Requires-Dist: lxml (>=4.2.4); extra == 'django' Provides-Extra: edge Requires-Dist: msedge-selenium-tools; extra == 'edge' Provides-Extra: flask Requires-Dist: Flask (>=2.0.2); extra == 'flask' Requires-Dist: cssselect; extra == 'flask' Requires-Dist: lxml (>=4.2.4); extra == 'flask' Provides-Extra: selenium3 Requires-Dist: selenium (<4.0,>=3.141.0); extra == 'selenium3' Provides-Extra: selenium4 Requires-Dist: selenium (<5.0,>=4.1.0); extra == 'selenium4' Provides-Extra: zope.testbrowser Requires-Dist: cssselect; extra == 'zope.testbrowser' Requires-Dist: lxml (>=4.2.4); extra == 'zope.testbrowser' Requires-Dist: zope.testbrowser (>=5.5.1); extra == 'zope.testbrowser' .. image:: https://secure.travis-ci.org/cobrateam/splinter.svg?branch=master :target: http://travis-ci.org/cobrateam/splinter +++++++++++++++++++++++++++++++++++++++++++++++++++ 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 ----------- .. code:: python 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 =========== * `Installation `_ * `Quick tutorial `_ Splinter open source project ============================ * `Community `_ * `Contribute `_ Documentation ============= * `Splinter documentation `_ External links ============== * `Django Full Stack Testing and BDD with Lettuce and Splinter `_ * `Testes de aceitação com Lettuce e Splinter (pt-br) `_ * `salad `_, a nice mix of great BDD ingredients (splinter + `lettuce `_ integration) * `behave-django `_, BDD testing in Django using `Behave `_. Works well with splinter. * `pytest-splinter `_, Splinter plugin for the `py.test `_ runner. * `PyPOM `_, PyPOM, or Python Page Object Model, is a Python library that provides a base page object model for use with Selenium or Splinter functional tests. * `pypom_form `_, is a PyPOM based package that provides declarative schema based form interaction for page object models compatible with Splinter.