Skip to content

Releases: PyWizards/Selenium_Screenshot

Release v3.0.0 – Full Page and Element Screenshot Support

04 May 11:56

Choose a tag to compare

🚀 What's New in v3.0.0

This major release adds robust and production-ready support for capturing high-quality full-page screenshots using Selenium and Chrome DevTools Protocol (CDP). It also introduces element-level capture with advanced handling for hidden or off-screen content.

✨ New Features

  • Full Page Screenshot (CDP-powered):

    • Accurately captures wide and long pages without cut-offs
    • Handles headless mode correctly
    • Supports lazy loading and optional hidden elements
  • Capture Specific Elements:

    • Crop and save any WebElement to a standalone PNG
    • Uses full-page screenshot as base for pixel-accurate cropping
    • Optional padding around element
  • Hide Elements Feature:

    • Accepts both CSS selectors and WebElement objects
    • Useful for hiding headers, footers, ads, or sticky elements

🧰 Improvements

  • Structured code into a class-based API
  • Improved compatibility with headless Chrome
  • Added better scrolling behavior for lazy-loaded content

🧪 Testing

  • Added unit tests for both full-page and element-level capture
  • Verified against complex pages like Wikipedia

Thank you for using selenium-screenshot!
Contributions and feedback are welcome.

Release

29 Apr 06:54

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.7.0...2.1.0

V2.0.0

27 Jul 06:16

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.7.0...Pypi-2.0.0

Pypi release

19 Jun 12:17
463b052

Choose a tag to compare

Merge pull request #9 from marrakchino/master

Allow elements to hide from `get_element` function