{ "info": { "author": "Mihai P\u00e2rvu", "author_email": "mihai-catalin.parvu@nokia.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Robot Framework", "Framework :: Robot Framework :: Library", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Testing" ], "description": "ScreenCapLibrary\n================\n\n.. contents::\n\nIntroduction\n------------\n\nScreenCapLibrary_ is a `Robot Framework`_ test\nlibrary for taking screenshots. The project is hosted on GitHub_\nand downloads can be found from PyPI_.\n\nScreenCapLibrary is operating system independent and supports Python_ 2.7 as well\nas Python_ 3.4 or newer.\n\nThe library is based on RobotFramework's standard Screenshot_ library. It has almost\nthe same functionality, except that the screenshots are captured in PNG by default.\n\nScreenCapLibrary has the following extra features:\n - Taking screenshots in PNG, JPG/JPEG, GIF and WebP formats\n - Video capture in WebM format, embeddable in log files\n - Adjusting the compression/quality of the screenshots\n - Support for GIFs (duration of 100 seconds or lower depending on system memory)\n - Taking multiple screenshots in a given amount of time\n - Support for partial screen captures\n\nFeatures to be implemented in the future:\n\n - Configurable monitor screen grabbing for screenshots and recording\n\nDocumentation\n-------------\n\nSee `keyword documentation`_ for available keywords and more information\nabout the library in general.\n\nFor general information about using test libraries with Robot Framework, see\n`Robot Framework User Guide`_.\n\nInstallation\n------------\n\nThe recommended installation method is using pip_::\n\n pip install --upgrade robotframework-screencaplibrary\n\nRunning this command installs also the latest Robot Framework, mss_,\npillow_ and opencv-python_ versions. The minimum supported mss version is\n``3.2.1`` and the minimum supported pillow version is ``5.2.0``.\nFor video capture at least version ``4.0.0.21`` of opencv-python_ is required.\nThe ``--upgrade`` option can be omitted when installing the library for the\nfirst time.\n\nWith recent versions of ``pip`` it is possible to install directly from the\nGitHub_ repository. To install latest source from the master branch, use\nthis command::\n\n pip install git+https://github.com/mihaiparvu/ScreenCapLibrary.git\n\nAlternatively you can download the source distribution from PyPI_, extract\nit, and install it::\n\n python setup.py install\n\nUsage\n-----\n\nTo use ScreenCapLibrary in Robot Framework tests, the library needs to first be\nimported using the Library setting as any other library.\n\nWhen using Robot Framework, it is generally recommended to write as\neasy-to-understand tests as possible.\n\n.. code:: robotframework\n\n *** Settings ***\n Documentation This example demonstrates capturing a screenshot on the local\n ... machine.\n\n Library ScreenCapLibrary\n Library OperatingSystem\n Test Teardown Remove File screenshot_1.jpg\n\n *** Test Cases ***\n Take A Low File Size Jpg Screenshot\n Take Screenshot name=screenshot format=jpg quality=0\n File Should Exist screenshot_1.jpg\n\n\nUsing with VNC\n--------------\n\nAt the time of this release ``mss``, does not work on GNU/Linux with VNC virtual desktop.\nAs a workaround you can change the ``screenshot_module`` value at library import to ``PyGTK``.\n\n.. code:: robotframework\n\n *** Settings ***\n Library ScreenCapLibrary screenshot_module=PyGTK\n\nFor this to work you need to have the following dependencies installed.\n\n- With Python 2::\n\n sudo apt install python-gtk2\n\n- With Python 3::\n\n sudo apt install python-gi python-gi-cairo python3-gi python3-gi-cairo gir1.2-gtk-3.0\n\nNote: If you encounter problems with PyGTK when running with Python 3, install the ``python-gi`` packages versions 3.20 or 3.30.\n\nSupport\n-------\n\nIf the provided documentation is not enough, there are various support forums\navailable:\n\n- `robotframework-users`_ mailing list\n- channels in Robot Framework `Slack community`_\n- ScreenCapLibrary `issue tracker`_ for bug reports and concrete enhancement\n requests\n\n.. _Robot Framework: http://robotframework.org\n.. _Robot Framework User Guide: http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#using-test-libraries\n.. _ScreenCapLibrary: https://github.com/mihaiparvu/ScreenCapLibrary\n.. _GitHub: https://github.com/mihaiparvu/ScreenCapLibrary\n.. _Python: http://python.org\n.. _pip: http://pip-installer.org\n.. _PyPI: https://pypi.python.org/pypi/robotframework-screencaplibrary\n.. _mss: https://python-mss.readthedocs.io\n.. _pillow: https://pillow.readthedocs.io\n.. _opencv-python: https://opencv-python-tutroals.readthedocs.io\n.. _Screenshot: http://robotframework.org/robotframework/latest/libraries/Screenshot.html\n.. _Keyword Documentation: https://mihaiparvu.github.io/ScreenCapLibrary/ScreenCapLibrary.html\n.. _robotframework-users: http://groups.google.com/group/robotframework-users\n.. _Slack community: https://robotframework-slack-invite.herokuapp.com\n.. _issue tracker: https://github.com/mihaiparvu/ScreenCapLibrary/issues", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mihaiparvu/ScreenCapLibrary", "keywords": "robotframework testing testautomation screenshot screencap", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "robotframework-screencaplibrary", "package_url": "https://pypi.org/project/robotframework-screencaplibrary/", "platform": "any", "project_url": "https://pypi.org/project/robotframework-screencaplibrary/", "project_urls": { "Homepage": "https://github.com/mihaiparvu/ScreenCapLibrary" }, "release_url": "https://pypi.org/project/robotframework-screencaplibrary/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "Robot Framework test library for taking screenshots", "version": "1.3.1" }, "last_serial": 5894923, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "916a4c333aa808e414fe7e59dcdc6e0d", "sha256": "96ac19d6f17f648b9542dfa84a37d20b8135fb9461a18aead60775edd23aad9c" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.0.0.tar.gz", "has_sig": false, "md5_digest": "916a4c333aa808e414fe7e59dcdc6e0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6796, "upload_time": "2018-08-23T12:47:53", "url": "https://files.pythonhosted.org/packages/6e/5a/f493b7da7b26061200a8715484695f9cffe7d7f54a098f6c776e7209faca/robotframework-screencaplibrary-1.0.0.tar.gz" } ], "1.0.0rc1": [ { "comment_text": "", "digests": { "md5": "d9e1805e280509fda28c5cb93bffa05d", "sha256": "599427833d225b7327db507e26baa11383b46c46be120d7e7e6bc493a5855548" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.0.0rc1.tar.gz", "has_sig": false, "md5_digest": "d9e1805e280509fda28c5cb93bffa05d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6806, "upload_time": "2018-08-22T11:19:11", "url": "https://files.pythonhosted.org/packages/bc/c9/41c68cb7cfd3500f880aba602a2e3e0a9c9e29a2b3566f87413684751106/robotframework-screencaplibrary-1.0.0rc1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "943c74ba0525bfb9ccb264d41d788c2b", "sha256": "eebba7ef01d90c37fbd0d1c7ae442415c4cac58dc18aff39f79cb0093ed3c3d3" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.1.0.tar.gz", "has_sig": false, "md5_digest": "943c74ba0525bfb9ccb264d41d788c2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7649, "upload_time": "2018-09-11T07:45:16", "url": "https://files.pythonhosted.org/packages/41/b2/297d61cfaf6c7f5c1f5f2d916876f6e19056267c6b60776349e172811b6f/robotframework-screencaplibrary-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "0792ae0367a3cc4e7c22dba4596a9c58", "sha256": "90a94fab779ece9f89243805e71147fae185cd3a271d000eacbf558ba2a3e589" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.1.1.tar.gz", "has_sig": false, "md5_digest": "0792ae0367a3cc4e7c22dba4596a9c58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7685, "upload_time": "2018-09-11T11:14:55", "url": "https://files.pythonhosted.org/packages/26/a9/1b3a13fd5e92525ac479d5ef311673cf83db7943b5d4fdbad3169531f09b/robotframework-screencaplibrary-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "f9807c2f881595487c8485ee597836a7", "sha256": "70546d54ae403a6c92ace0c8ddf4a3a388dd2cf44111cffcc892a2923e17318a" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.2.0.tar.gz", "has_sig": false, "md5_digest": "f9807c2f881595487c8485ee597836a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10164, "upload_time": "2018-12-19T14:42:24", "url": "https://files.pythonhosted.org/packages/d9/5c/30a088db38e95f8f528fce3fe2ed04bfdb22e6771aa27bf89bc7874daf30/robotframework-screencaplibrary-1.2.0.tar.gz" } ], "1.2.0rc1": [ { "comment_text": "", "digests": { "md5": "995eab41b1b70b4d0066725adddce0e5", "sha256": "d02ca018940fbb7f62f78f3606327898551c68f0175689a2c442e87408ea7abd" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.2.0rc1.tar.gz", "has_sig": false, "md5_digest": "995eab41b1b70b4d0066725adddce0e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10174, "upload_time": "2018-12-14T14:45:20", "url": "https://files.pythonhosted.org/packages/c7/10/911a6a2c98c2d2c54f411dbb614e2e9a045484cf156d682e04f4212db9cf/robotframework-screencaplibrary-1.2.0rc1.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "832861cd6bcca23fd6ba4683704acb90", "sha256": "22934f5a828052c3101115b861166e6d79d69381c9e8c5605aae3e3b5428f3c0" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.3.0.tar.gz", "has_sig": false, "md5_digest": "832861cd6bcca23fd6ba4683704acb90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12378, "upload_time": "2019-05-31T08:10:06", "url": "https://files.pythonhosted.org/packages/4e/71/dbd7415f121feb282c7ad2ecf59fdba6206414c74866c72cb94096704e6e/robotframework-screencaplibrary-1.3.0.tar.gz" } ], "1.3.0rc1": [ { "comment_text": "", "digests": { "md5": "3b9facea427e45e30c3f9d3daa63dfdf", "sha256": "1eb489e794ba744025c41a067d430cfa64227390e51e3b43a7a8b13eae5b9b14" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.3.0rc1.tar.gz", "has_sig": false, "md5_digest": "3b9facea427e45e30c3f9d3daa63dfdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12168, "upload_time": "2019-05-21T12:57:00", "url": "https://files.pythonhosted.org/packages/e0/31/b362e3796e2ec6ea116f36e00b5d3df374e313143fbe7ca7fa558c41173c/robotframework-screencaplibrary-1.3.0rc1.tar.gz" } ], "1.3.0rc2": [ { "comment_text": "", "digests": { "md5": "4cf509af2d400ffa016fa89422f484d6", "sha256": "ef197f9a715e595bcdd30db7c0ce340f87c1413642f5414bb232995454c081b0" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.3.0rc2.tar.gz", "has_sig": false, "md5_digest": "4cf509af2d400ffa016fa89422f484d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12376, "upload_time": "2019-05-29T07:56:45", "url": "https://files.pythonhosted.org/packages/7b/3f/9aa9a1ab0bbae985bddaaf66cc12d024cfccfe0fba35dcbac5f59e12acc9/robotframework-screencaplibrary-1.3.0rc2.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "ddfa75c0f7318a39e93d3170d5e47127", "sha256": "ad01b607e5eaa2987cc635e8f867358d7445b41d0f90c517c731e49264ed2351" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.3.1.tar.gz", "has_sig": false, "md5_digest": "ddfa75c0f7318a39e93d3170d5e47127", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13480, "upload_time": "2019-09-27T08:45:45", "url": "https://files.pythonhosted.org/packages/84/6b/a25742dd77a86cd355ac9664e6506cf797d04f428d91f99c130badfad246/robotframework-screencaplibrary-1.3.1.tar.gz" } ], "1.3.1a1": [ { "comment_text": "", "digests": { "md5": "0c1da2a61cf96cda71de4906bb7e76cf", "sha256": "d6745cbd577f320b4255b64a33368fb1db5fb788ba462d8ab1990660499be6d5" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.3.1a1.tar.gz", "has_sig": false, "md5_digest": "0c1da2a61cf96cda71de4906bb7e76cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12903, "upload_time": "2019-09-13T13:30:55", "url": "https://files.pythonhosted.org/packages/2d/29/9335903c1e0d8c27acbd22c42cba65e0dfe9b89e9ec0848a6f0295dea861/robotframework-screencaplibrary-1.3.1a1.tar.gz" } ], "1.3.1rc1": [ { "comment_text": "", "digests": { "md5": "1404870a29f2870bb0441d951e251bab", "sha256": "4aaa21b9da077455aa57e871fa17cb7a3decffaf548f919b5802037545f5baeb" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.3.1rc1.tar.gz", "has_sig": false, "md5_digest": "1404870a29f2870bb0441d951e251bab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13489, "upload_time": "2019-09-24T12:10:35", "url": "https://files.pythonhosted.org/packages/bf/06/6ad4c58cf21713ca325a587835cffddf5f0dcc9291f3d33d24d782137152/robotframework-screencaplibrary-1.3.1rc1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ddfa75c0f7318a39e93d3170d5e47127", "sha256": "ad01b607e5eaa2987cc635e8f867358d7445b41d0f90c517c731e49264ed2351" }, "downloads": -1, "filename": "robotframework-screencaplibrary-1.3.1.tar.gz", "has_sig": false, "md5_digest": "ddfa75c0f7318a39e93d3170d5e47127", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13480, "upload_time": "2019-09-27T08:45:45", "url": "https://files.pythonhosted.org/packages/84/6b/a25742dd77a86cd355ac9664e6506cf797d04f428d91f99c130badfad246/robotframework-screencaplibrary-1.3.1.tar.gz" } ] }