Skip to content

Commit b4412ae

Browse files
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"test": "npx percy exec --testing -- mvn test"
55
},
66
"devDependencies": {
7-
"@percy/cli": "1.30.9"
7+
"@percy/cli": "1.31.10"
88
}
99
}

0 commit comments

Comments
 (0)