Releases: PyWizards/Selenium_Screenshot
Releases · PyWizards/Selenium_Screenshot
Release v3.0.0 – Full Page and Element Screenshot Support
🚀 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
What's Changed
- need to hide elements after every scroll by @chavarera in #14
- Update Screenshot_Clipping.py by @MahadevGopanpalli in #16
- Fix: Fixed issue when taking screenshots and images are displayed cro… by @DiegoDG-01 in #18
- Bugfix closes #23 by @agsoto in #24
- Revert "Bugfix closes #23" by @sam4u3 in #25
- Improvements by @feelgood-interface in #27
New Contributors
- @chavarera made their first contribution in #14
- @MahadevGopanpalli made their first contribution in #16
- @DiegoDG-01 made their first contribution in #18
- @agsoto made their first contribution in #24
- @sam4u3 made their first contribution in #25
- @feelgood-interface made their first contribution in #27
Full Changelog: 1.7.0...2.1.0
V2.0.0
What's Changed
- need to hide elements after every scroll by @chavarera in #14
- Update Screenshot_Clipping.py by @MahadevGopanpalli in #16
- Fix: Fixed issue when taking screenshots and images are displayed cro… by @DiegoDG-01 in #18
New Contributors
- @chavarera made their first contribution in #14
- @MahadevGopanpalli made their first contribution in #16
- @DiegoDG-01 made their first contribution in #18
Full Changelog: 1.7.0...Pypi-2.0.0
Pypi release
Merge pull request #9 from marrakchino/master Allow elements to hide from `get_element` function