--- id: selenium-screenshot version: "3.0.0" license: MIT license_treatment: permissive maintenance: aging --- # Selenium-Screenshot — This package is used to Clipped Images of Html Elements of Selenium Webdriver License: permissive · Maintenance: aging · Downloads: 115.4K/mo ## What it is and what it does Selenium Screenshot wraps Selenium WebDriver to automate the capture of web page screenshots at the full-page or individual-element level. It accepts CSS selectors or WebElement objects to hide specific DOM nodes before capture, useful for removing sticky headers, navigation bars, or other transient UI elements from the final image. The package outputs PNG files and integrates directly with an existing Selenium browser session. The tool is designed for test automation, visual regression testing, documentation generation, or any workflow where you need programmatic screenshots of live web content. It depends on Pillow for image handling and selenium for browser control, and targets Python 3.6.1 and later. Use it for: - Capture full-page screenshots in automated test suites while hiding dynamic UI elements like sticky headers. - Extract and save screenshots of specific page sections (e.g., infoboxes, content areas) for documentation or reports. - Generate visual snapshots of web pages for regression testing or visual comparison workflows. - Automate screenshot collection across multiple pages or URLs for archival or monitoring purposes. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Captures full-page or element-level screenshots of web pages and DOM elements using Selenium WebDriver, with support for hiding specific elements via CSS selectors or WebElement references. Yes, if you need straightforward Selenium-based page or element screenshots with element-hiding support. The low install friction and permissive license make it accessible. However, the aging maintenance status and lack of recent release activity warrant caution if you depend on active support or compatibility with very recent Selenium or browser driver versions; verify compatibility with your specific environment first. ## Install pip install selenium-screenshot uv add selenium-screenshot poetry add selenium-screenshot ## Installing Selenium-Screenshot Before you install: Low install friction with two straightforward dependencies (Pillow and selenium). Maintenance status is aging—last commit was 2025-07-24, though the repository remains active and not archived. License in practice: MIT license is permissive, allowing use in commercial and private projects with minimal restrictions; you must include a copy of the license and copyright notice. Quickstart: pip install Selenium-Screenshot from selenium import webdriver from Screenshot import Screenshot driver = webdriver.Chrome() driver.get("https://example.com") ss = Screenshot(driver) ss.capture_full_page("output.png") driver.quit() Requires a Selenium WebDriver instance (e.g., ChromeDriver) and a running browser; Python 3.6.1 or later. Verify before relying: - Whether the package handles dynamic content or JavaScript rendering delays reliably. - Performance characteristics when capturing very large pages or many elements in sequence. - Compatibility with modern Selenium versions and current browser driver releases. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 115.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags selenium screenshot capture, web page screenshot automation, selenium element screenshot, html element clipping, webdriver screenshot tool, selenium full page capture, hide elements screenshot, web-automation, screenshot-capture, testing-tools [View on SkillFed](https://skillfed.io/packages/selenium-screenshot) · [View on PyPI](https://pypi.org/project/selenium-screenshot/)