{ "info": { "author": "Marcos S\u00e1nchez", "author_email": "arkanus@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "Selenium SunBro\n===============\n\nSunbro is a module aimed to ease the creation of Page Objects by allowing them to be written in a declarative way, similar to the way models and forms are written in the django web framework.\n\n\timport sunbro\n\tfrom selenium import webdriver\n\n\tclass YapoAdInsertPage(sunbro.Page):\n\t\tsubject = sunbro.FindElement('name', 'subject')\n\t\tbody = sunbro.FindElement('name', 'body')\n\t\tprice = sunbro.FindElement('name', 'price')\n\n\t\tdef go(self):\n\t\t\tself.driver.get('http://www2.yapo.cl/ai')\n\n\n\tif __name__ == '__main__':\n\t\tdriver = webdriver.Firefox()\n\t\tpage = YapoAdInsertPage(driver)\n\t\tpage.go()\n\t\tpage.subject.send_keys('Praise the sun, bros!')\n\t\tpage.body.send_keys('...to summon one another as spirits, cross the gaps between the worlds, and engage in jolly co-operation!')\n\t\tpage.price.send_keys('1231')\n\n\nWhy sunbro?\nhttp://darksouls.wiki.fextralife.com/Warrior+of+Sunlight", "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/arkanus/selenium-sunbro", "keywords": "selenium wedriver page object", "license": "Mozilla Public License 2.0 (MPL 2.0)", "maintainer": null, "maintainer_email": null, "name": "selenium-sunbro", "package_url": "https://pypi.org/project/selenium-sunbro/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/selenium-sunbro/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/arkanus/selenium-sunbro" }, "release_url": "https://pypi.org/project/selenium-sunbro/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Easily create page objects with a declarative syntax", "version": "0.0.3" }, "last_serial": 1554035, "releases": { "0.0.3": [] }, "urls": [] }