Skip to main content

Takes a screenshot of every element on a site

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


$pip install a-selenium-screenshots-all-elements

from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc
from a_selenium_screenshots_all_elements import get_screenshots_from_all_elements
if __name__ == "__main__":
    folderchromedriver = "f:\\seleniumdriver3"
    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")

    get_screenshots_from_all_elements(driver, saveinfolder='f:\\testscreensht', cutinfos=80) # cutinfos = max letters in one line

    

Metadata

Release files for a-selenium-screenshots-all-elements 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for a-selenium-screenshots-all-elements 0.10
File Size Uploaded
a_selenium_screenshots_all_elements-0.10.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for a-selenium-screenshots-all-elements 0.10
File Interpreter ABI Platform
a_selenium_screenshots_all_elements-0.10-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / a_selenium_screenshots_all_elements-0.10.tar.gz

Download URL a_selenium_screenshots_all_elements-0.10.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
702e503b901a02135b838ea888696e513b5cb7f310fb59fab9d3d974f2408468
BLAKE2b-256 checksum
How to use checksums
ffbe23bab9374c26abe2fb72121958f33e3826cae0b889f864a27edab4e5a762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / a_selenium_screenshots_all_elements-0.10-py3-none-any.whl

Download URL a_selenium_screenshots_all_elements-0.10-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3cdf4d9d42986e530b28fc77cbf16935108125b7cf94f378a35113d0957eaa0
BLAKE2b-256 checksum
How to use checksums
30b72a7f69945c208a36cb9ac4e879c8faa77c5af94ca7057d0272b47688cdeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page