Commit b4412ae
Feat : responsive capture feature and Cross Origin Iframe capture (#302)
* Added PERCY_RESPONSIVE_CAPTURE_RELOAD_PAGE
* adding responsive capture feature
* fixing code
* cli version
* added unit testcases and fix:
* resolved copilot comments
* Refactoring code
* resolving comments
* fixing min height
* fix
* fix: address code review feedback for snapshot error handling and responsive capture
- Catch Exception (not just WebDriverException) in snapshot() to prevent caller crashes
- Wrap captureResponsiveDom loop in try/finally to always restore window size
- Replace System.out.println debug statements with log() calls
- Introduce FatalIframeException to replace fragile string matching on "Fatal"
- Fix log(String) indentation
- Add fallback for renamed RESONSIVE_CAPTURE_SLEEP_TIME env var
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* bump version to 2.1.2-alpha.0 for alpha release
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* restore provided scope for selenium-java and test scope for webdrivermanager
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* removing version from pr
* removing version
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c4f6e33 commit b4412ae
3 files changed
Lines changed: 1197 additions & 70 deletions
File tree
- src
- main/java/io/percy/selenium
- test/java/io/percy/selenium
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
0 commit comments