{ "info": { "author": "Nick Pilon, Ben Bangert", "author_email": "npilon@gmail.com, ben@groovie.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Testing" ], "description": "=============================================\nLettuce steps for Web Testing with Selenium 2\n=============================================\n\n``lettuce_webdriver`` provides a set of steps for use with the `Cucumber\n`_ BDD Python port `lettuce `_ using\nthe `selenium 2.8 or higher Python package `_.\n\nThe included matchers and syntax is inspired heavily by `cucumber_watir\n`_.\n\nRequirements\n============\n\n* `lettuce `_\n* `selenium 2.8 or higher `_\n\nSetting Up lettuce_webdriver\n============================\n\nIn your lettuce ``terrain.py`` file, add an include statement for lettuce to\nlearn about the additional step definitions provided by\n``lettuce_webdriver`` and a setup that creates the selenium browser\ndesired::\n \n from lettuce import before, world\n from selenium import webdriver\n import lettuce_webdriver.webdriver\n \n @before.all\n def setup_browser():\n world.browser = webdriver.Firefox()\n\nUsage\n=====\n\nlettuce stories are written in the standard Cucumber style of `gherkin\n`_. For example::\n \n Scenario: Filling out the signup form\n Given I go to \"http://foo.com/signup\"\n When I fill in \"Name\" with \"Foo Bar\"\n And I fill in \"Email\" with \"nospam@gmail.com\"\n And I fill in \"City\" with \"San Jose\"\n And I fill in \"State\" with \"CA\"\n And I uncheck \"Send me spam!\"\n And I select \"Male\" from \"Gender\"\n And I press \"Sign up\"\n Then I should see \"Thank you for signing up!\"\n\n\nIncluded Matchers\n-----------------\n\nThe following lettuce step matchers are included in this package and can be\nused with Given/When/Then/And as desired.\n\n::\n\n # urls\n I visit \"http://google.com/\"\n I go to \"http://google.com/\"\n \n # links\n I click \"Next page\"\n I should see a link with the url \"http://foobar.com/\"\n I should see a link to \"Google\" with the url \"http://google.com/\"\n I should see a link that contains the text \"Foobar\" and the url \"http://foobar.com/\"\n\n # general\n I should see \"Page Content\"\n I see \"Page Content\"\n I should see \"Page Content\" within 4 seconds\n I should not see \"Foobar\"\n I should be at \"http://foobar.com/\"\n I should see an element with id of \"http://bar.com/\"\n I should see an element with id of \"http://bar.com/\" within 2 seconds\n I should not see an element with id of \"http://bar.com/\"\n The element with id of \"cs_PageModeContainer\" contains \"Read\"\n The element with id of \"cs_BigDiv\" does not contain \"Write\"\n\n # browser\n The browser's URL should be \"http://bar.com/\"\n The browser's URL should contain \"foo.com\"\n The browser's URL should not contain \"bar.com\"\n \n # forms\n I should see a form that goes to \"http://bar.com/submit.html\"\n I press \"Submit\"\n \n # checkboxes\n I check \"I have a car\"\n I uncheck \"I have a bus\"\n The \"I have a car\" checkbox should be checked\n The \"I have a bus\" checkbox should not be checked\n \n # select\n I select \"Volvo\" from \"Car Choices\"\n I select the following from \"Car Choices\":\n \"\"\"\n Volvo\n Saab\n \"\"\"\n The \"Volvo\" option from \"Car Choices\" should be selected\n The following options from \"Car Choices\" should be selected:\n \"\"\"\n Volvo\n Saab\n \"\"\"\n \n # radio buttons\n I choose \"Foobar\"\n The \"Foobar\" option should be chosen\n The \"Bar\" option should not be chosen\n \n # text entry fields (text, textarea, password)\n I fill in \"Username\" with \"Smith\"\n\nSupport\n=======\n\nlettuce_webdriver is maintained by Nick Pilon (@npilon on github and\nnpilon@lexmachina.com). Bug fixes and feature patches may be submitted using\ngithub pull requests, and bug reports or feature requests as github issues.\n\n\n0.3.5\n-----\n\n- Steps for capturing screenshots\n\n0.3.4\n-----\n\n- Depend on an installable version of sure\n- Bugfixes to lettuce_webdriver django steps (danni)\n- Steps for frame selection (danni)\n- Newer selenium dependency\n- Better jQuery automagic\n\n\n0.3.3\n-----\n\n- Reasonably complete selection of steps that use JQuery to find elements.\n- Assorted bug-fixes\n\n\n0.2.1\n-----\n\n- Fix the guard from 0.2, incompatible with recent selenium versions.\n\n0.2\n---\n\n- Adding a guard to fail properly if the field is not found.\n- API change: wait_for_content now expects a step as the first parameter\n\n0.1.3\n-----\n\n- Added 'I should see \"..\" within X seconds' step.\n- Added 'I should see an element with id of \"http://bar.com/\" within 2\n seconds'.\n\n0.1.2\n-----\n\n- Updated \"press\" step so it doesn't require 'When'\n\n0.1.1\n-----\n\n- Fix bug with password field failing to be found.\n\n0.1\n---\n\n- Initial version", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bbangert/lettuce_webdriver/", "keywords": "web lettuce bdd", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "lettuce_webdriver", "package_url": "https://pypi.org/project/lettuce_webdriver/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lettuce_webdriver/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bbangert/lettuce_webdriver/" }, "release_url": "https://pypi.org/project/lettuce_webdriver/0.3.5/", "requires_dist": null, "requires_python": null, "summary": "Selenium webdriver extension for lettuce", "version": "0.3.5" }, "last_serial": 1162228, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "732ce8123a3ec3a67e1c3432ce460b33", "sha256": "60f685a8e0cc55aa01f36a3490c39839b74098f80f5b7e2ff00566969bf19948" }, "downloads": -1, "filename": "lettuce_webdriver-0.1.tar.gz", "has_sig": false, "md5_digest": "732ce8123a3ec3a67e1c3432ce460b33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10732, "upload_time": "2011-03-15T21:34:48", "url": "https://files.pythonhosted.org/packages/af/cb/6c9a8fdf82249158f5af6a5d19425e05d8f47098d5031098f84c30c00ddb/lettuce_webdriver-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5409c5bda5ea53a37486dcf586aeecdd", "sha256": "80cc419573e8eb9f325e44641eb18438ea695bbbfe310bf712a390a01022fe72" }, "downloads": -1, "filename": "lettuce_webdriver-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5409c5bda5ea53a37486dcf586aeecdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10796, "upload_time": "2011-03-16T07:07:37", "url": "https://files.pythonhosted.org/packages/ad/bd/f9b87debf882632449a21b9a28a6545e2bb52818e9a4e7c640e317c41028/lettuce_webdriver-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "708c0a8eedd0b0c5779ba6d9d3006d7e", "sha256": "e0ab51fd2f4f102687ccfa88aabc5b693b2c2af18e15f66e10d573fd93b3c454" }, "downloads": -1, "filename": "lettuce_webdriver-0.1.2.tar.gz", "has_sig": false, "md5_digest": "708c0a8eedd0b0c5779ba6d9d3006d7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10850, "upload_time": "2011-03-16T07:12:44", "url": "https://files.pythonhosted.org/packages/15/fb/a2d54da7ca62a1a5d710357915f0bd1b287bb6d8b77476fd6a8273372315/lettuce_webdriver-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "4c7abae0e045f4ae665b7efc97f99e7f", "sha256": "7a2f24888692afbf3495436f0d2720e9f64fd58b2e51927db5444d6ad68cdd5f" }, "downloads": -1, "filename": "lettuce_webdriver-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4c7abae0e045f4ae665b7efc97f99e7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11225, "upload_time": "2011-03-16T21:21:17", "url": "https://files.pythonhosted.org/packages/d8/39/90d8bda7b7a4c9f31e2534cf9767c0d460f62473e94bd4bd3be7382659f6/lettuce_webdriver-0.1.3.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b442827beefd9cdb2baa841383f9b796", "sha256": "155226063d998242b5b4c9937912fce4f9eed564dfec0bf964ac54985013caea" }, "downloads": -1, "filename": "lettuce_webdriver-0.2.tar.gz", "has_sig": false, "md5_digest": "b442827beefd9cdb2baa841383f9b796", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12054, "upload_time": "2011-10-17T01:38:41", "url": "https://files.pythonhosted.org/packages/36/3c/d4a676913a3132c52b7449a774a9e46e9fb4695be7fdd617e4319f68c840/lettuce_webdriver-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "dd29a05b943a5aad634dd71a00868498", "sha256": "5470ea42af1d0cc369a0cd1bf4551b15ed82417777a4a19c39fe2ae7e725ed02" }, "downloads": -1, "filename": "lettuce_webdriver-0.2.1.tar.gz", "has_sig": false, "md5_digest": "dd29a05b943a5aad634dd71a00868498", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7478, "upload_time": "2012-12-04T17:09:00", "url": "https://files.pythonhosted.org/packages/79/3c/4e9a1bab284c60d93fa9aad5175221346d7008739ed3df49c4ced86307a8/lettuce_webdriver-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "fb2231e61e0382ce51bee4adf0d61c1e", "sha256": "513910cc4e654a3a8b4b5e88d95697b9da439eb6c380435733ef17a032f896f6" }, "downloads": -1, "filename": "lettuce_webdriver-0.3.tar.gz", "has_sig": false, "md5_digest": "fb2231e61e0382ce51bee4adf0d61c1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7805, "upload_time": "2013-04-09T20:29:42", "url": "https://files.pythonhosted.org/packages/08/8a/c0af6d228b9196903833d3cd0c119348b43933e67c147b38a81f81e6a60a/lettuce_webdriver-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "abf7638c93005970c8e84372b83b1358", "sha256": "f70080be5463e89c4f109dc172642e9cb5a18e3181781f692af94accdd1dce89" }, "downloads": -1, "filename": "lettuce_webdriver-0.3.1.tar.gz", "has_sig": false, "md5_digest": "abf7638c93005970c8e84372b83b1358", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8691, "upload_time": "2013-08-26T17:49:20", "url": "https://files.pythonhosted.org/packages/26/55/5549dcfaf8701bfc0c9ede9701bb648f8fc1723d4aab84ccfd0d07907ff7/lettuce_webdriver-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "e2003fda78ef54d455a8c6e3e3ca1ebc", "sha256": "3b9fd47084254e6b78eb9030df9c9b92dbb24898d44db3f543b4ae9fcac4b24c" }, "downloads": -1, "filename": "lettuce_webdriver-0.3.2.tar.gz", "has_sig": false, "md5_digest": "e2003fda78ef54d455a8c6e3e3ca1ebc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8842, "upload_time": "2013-09-16T23:31:13", "url": "https://files.pythonhosted.org/packages/2a/b2/de63298a2ea109d097d5ba2bbb941740fee7d947afeb1f8f2e3dea73a01e/lettuce_webdriver-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "e088da3382c16002872a5a1d19a2dc5c", "sha256": "bdc5202b31fc07a51407a856315bf8cb2b31fb1d53ce645747fd4a70db6c5b0d" }, "downloads": -1, "filename": "lettuce_webdriver-0.3.3.tar.gz", "has_sig": false, "md5_digest": "e088da3382c16002872a5a1d19a2dc5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16286, "upload_time": "2014-01-23T20:53:17", "url": "https://files.pythonhosted.org/packages/02/b4/27fdeeaa48031c8573a84f1feadc9045f066ba6a738d49ee98d8c5523a48/lettuce_webdriver-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "0d6f970629d2fdcb14d151ae309887af", "sha256": "8e5280b4156b9acaa432f82840fe85b406e8caf6bc3b9debfbb43a9acdf20c0a" }, "downloads": -1, "filename": "lettuce_webdriver-0.3.4.tar.gz", "has_sig": false, "md5_digest": "0d6f970629d2fdcb14d151ae309887af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16667, "upload_time": "2014-02-05T01:05:48", "url": "https://files.pythonhosted.org/packages/dd/02/dd81aef2f6b5e2b46e796b821dffae33ef02c6fc94baeec4abafd62dd00a/lettuce_webdriver-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "908e98cec8f3b9ed2d333cc92091294b", "sha256": "836d7b330f885a282f163d5c63d6847c0d3afb7a3276fb71ce1d2fdee9ad20e8" }, "downloads": -1, "filename": "lettuce_webdriver-0.3.5.tar.gz", "has_sig": false, "md5_digest": "908e98cec8f3b9ed2d333cc92091294b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17389, "upload_time": "2014-07-18T21:43:54", "url": "https://files.pythonhosted.org/packages/4c/52/23b84d1887fb217fb37727e4c9fb9e28ab2ab7262c15d833d487ceac3239/lettuce_webdriver-0.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "908e98cec8f3b9ed2d333cc92091294b", "sha256": "836d7b330f885a282f163d5c63d6847c0d3afb7a3276fb71ce1d2fdee9ad20e8" }, "downloads": -1, "filename": "lettuce_webdriver-0.3.5.tar.gz", "has_sig": false, "md5_digest": "908e98cec8f3b9ed2d333cc92091294b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17389, "upload_time": "2014-07-18T21:43:54", "url": "https://files.pythonhosted.org/packages/4c/52/23b84d1887fb217fb37727e4c9fb9e28ab2ab7262c15d833d487ceac3239/lettuce_webdriver-0.3.5.tar.gz" } ] }