{ "info": { "author": "Dan Gilkerson", "author_email": "dangilkerson@quasimatic.com", "bugtrack_url": null, "classifiers": [], "description": "Glance DOM\n==========\n\nQuickly reference DOM elements with minimal inspection.\n\nTo learn more about Glance DOM visit the `Glance Website `_.\n\nInstallation\n************\n\nInstallation requires ``pip``::\n\n pip install glance-dom\n\nUsage\n*****\n\nInstantiate Glance DOM using a browser driver (for example,\n`WebDriver `_).\n\n.. code-block:: python\n\n from selenium import webdriver\n from glance_dom import GlanceDom\n\n def test_glance():\n driver = webdriver.Firefox()\n driver.get('http://quasimatic.org/glance')\n\n # Using the old way\n languages = driver.find_element_by_css_selector('h2#other-languages + ul > li')\n\n # Using Glance\n glance = GlanceDom(driver)\n languages = glance.get_element('Other Languages > li')\n\n print(languages.text)\n\nYou can also get a list of matching elements using ``get_elements``\n\nExceptions\n__________\n\n``get_element`` will raise ``NoReferenceError`` if the ``reference`` did not match any elements.\nSimilarly it will raise ``TooBroadReferenceError`` it there are more than one match.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/quasimatic/glance-dom", "keywords": "testing", "license": "", "maintainer": "", "maintainer_email": "", "name": "glance_dom", "package_url": "https://pypi.org/project/glance_dom/", "platform": "", "project_url": "https://pypi.org/project/glance_dom/", "project_urls": { "Homepage": "https://github.com/quasimatic/glance-dom" }, "release_url": "https://pypi.org/project/glance_dom/0.11.5/", "requires_dist": null, "requires_python": "", "summary": "Quickly reference DOM elements with minimal inspection.", "version": "0.11.5" }, "last_serial": 3130906, "releases": { "0.11.4": [ { "comment_text": "", "digests": { "md5": "293732590357bf1b2e2efda839bfa655", "sha256": "7f6e2cb2a7a83f29132e953ed7f68708a30f2c470c966cc90e7ffecc68df2ffa" }, "downloads": -1, "filename": "glance_dom-0.11.4.tar.gz", "has_sig": false, "md5_digest": "293732590357bf1b2e2efda839bfa655", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11249, "upload_time": "2017-08-29T02:53:05", "url": "https://files.pythonhosted.org/packages/e8/88/4c1313cb9599469b5f0497e1b4a26932531c7f6d6a19616ca4dfb2a3696e/glance_dom-0.11.4.tar.gz" } ], "0.11.5": [ { "comment_text": "", "digests": { "md5": "80a53f3b921150e499c189811555f83b", "sha256": "5bb2d7775ae473e59808be2cd6e6a94597b36e002696ee46084cd72f95d17440" }, "downloads": -1, "filename": "glance_dom-0.11.5.tar.gz", "has_sig": false, "md5_digest": "80a53f3b921150e499c189811555f83b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11249, "upload_time": "2017-08-29T03:45:33", "url": "https://files.pythonhosted.org/packages/11/f2/35c28906e53a138547f6820a9b36b300e545d194f32b14a4a346c3153e28/glance_dom-0.11.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "80a53f3b921150e499c189811555f83b", "sha256": "5bb2d7775ae473e59808be2cd6e6a94597b36e002696ee46084cd72f95d17440" }, "downloads": -1, "filename": "glance_dom-0.11.5.tar.gz", "has_sig": false, "md5_digest": "80a53f3b921150e499c189811555f83b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11249, "upload_time": "2017-08-29T03:45:33", "url": "https://files.pythonhosted.org/packages/11/f2/35c28906e53a138547f6820a9b36b300e545d194f32b14a4a346c3153e28/glance_dom-0.11.5.tar.gz" } ] }