a-selenium-screenshot-whole-page


Namea-selenium-screenshot-whole-page JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/a_selenium_screenshot_whole_page
SummaryTakes a screenshot from a whole page (same size as page / no repeating parts)
upload_time2023-01-01 11:45:16
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords selenium automation screenshot
VCS
bugtrack_url
requirements a_cv2_easy_resize a_cv_imwrite_imread_plus numpy opencv_python pandas
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Takes a screenshot from a whole page (same size as page / no repeating parts)

```python
# Tested with:
# https://github.com/ultrafunkamsterdam/undetected-chromedriver
# Python 3.9.13
# Windows 10


$pip install a-selenium-screenshot-whole-page

from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc
from a_selenium_screenshot_whole_page import get_screenshot_whole_page_with_scroll
from time import sleep

if __name__ == "__main__":
    folderchromedriver = "f:\\seleniumdriver2"
    path = download_undetected_chromedriver(
        folder_path_for_exe=folderchromedriver, undetected=True
    )
    driver = uc.Chrome(driver_executable_path=path)
    driver.get(
        r"https://github.com/hansalemaos/a_cv2_easy_resize"
    )
    sleep(2)
    get_screenshot_whole_page_with_scroll(driver,sleepinterval=(0.2,0.8), save_path='f:\\testwholescreenshot.png')
    
    
```

<img src="https://github.com/hansalemaos/screenshots/raw/main/testwholescreenshot.png"/>




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/a_selenium_screenshot_whole_page",
    "name": "a-selenium-screenshot-whole-page",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Selenium,automation,screenshot",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/54/e1/d32bb037409eaa50f0d39e8c58dc4ddfcaa6cabe87f9fe790bec4d4e4531/a_selenium_screenshot_whole_page-0.10.tar.gz",
    "platform": null,
    "description": "\n# Takes a screenshot from a whole page (same size as page / no repeating parts)\n\n```python\n# Tested with:\n# https://github.com/ultrafunkamsterdam/undetected-chromedriver\n# Python 3.9.13\n# Windows 10\n\n\n$pip install a-selenium-screenshot-whole-page\n\nfrom auto_download_undetected_chromedriver import download_undetected_chromedriver\nimport undetected_chromedriver as uc\nfrom a_selenium_screenshot_whole_page import get_screenshot_whole_page_with_scroll\nfrom time import sleep\n\nif __name__ == \"__main__\":\n    folderchromedriver = \"f:\\\\seleniumdriver2\"\n    path = download_undetected_chromedriver(\n        folder_path_for_exe=folderchromedriver, undetected=True\n    )\n    driver = uc.Chrome(driver_executable_path=path)\n    driver.get(\n        r\"https://github.com/hansalemaos/a_cv2_easy_resize\"\n    )\n    sleep(2)\n    get_screenshot_whole_page_with_scroll(driver,sleepinterval=(0.2,0.8), save_path='f:\\\\testwholescreenshot.png')\n    \n    \n```\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/testwholescreenshot.png\"/>\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Takes a screenshot from a whole page (same size as page / no repeating parts)",
    "version": "0.10",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/a_selenium_screenshot_whole_page"
    },
    "split_keywords": [
        "selenium",
        "automation",
        "screenshot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a651a7c7e10f783e0be9debd3b33610b25666236fddb653d8b6063492152f37",
                "md5": "a61abdcbc34e0751b4ce8a07b871827a",
                "sha256": "58d9359bca63f665928b4408cd6dc1de77064adecf31cd936dbe20dc32ee2aa7"
            },
            "downloads": -1,
            "filename": "a_selenium_screenshot_whole_page-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a61abdcbc34e0751b4ce8a07b871827a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5894,
            "upload_time": "2023-01-01T11:45:15",
            "upload_time_iso_8601": "2023-01-01T11:45:15.193361Z",
            "url": "https://files.pythonhosted.org/packages/1a/65/1a7c7e10f783e0be9debd3b33610b25666236fddb653d8b6063492152f37/a_selenium_screenshot_whole_page-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54e1d32bb037409eaa50f0d39e8c58dc4ddfcaa6cabe87f9fe790bec4d4e4531",
                "md5": "3cedebb895741114c0d95d40b0164470",
                "sha256": "0f48e2309b02e77baef0fe094a93e03ee6831d5e0ac41709b609b6e69a9ae644"
            },
            "downloads": -1,
            "filename": "a_selenium_screenshot_whole_page-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "3cedebb895741114c0d95d40b0164470",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4049,
            "upload_time": "2023-01-01T11:45:16",
            "upload_time_iso_8601": "2023-01-01T11:45:16.597391Z",
            "url": "https://files.pythonhosted.org/packages/54/e1/d32bb037409eaa50f0d39e8c58dc4ddfcaa6cabe87f9fe790bec4d4e4531/a_selenium_screenshot_whole_page-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-01 11:45:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "a_selenium_screenshot_whole_page",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "a_cv2_easy_resize",
            "specs": []
        },
        {
            "name": "a_cv_imwrite_imread_plus",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "opencv_python",
            "specs": []
        },
        {
            "name": "pandas",
            "specs": []
        }
    ],
    "lcname": "a-selenium-screenshot-whole-page"
}
        
Elapsed time: 0.74614s