D48585_Scrollable Screenshot fixed#4238
Conversation
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GenericAppiumDriver
User->>GenericAppiumDriver: CaptureFullPageCroppedScreenshot()
loop Until end of scrollable content
GenericAppiumDriver->>GenericAppiumDriver: Capture cropped screenshot
GenericAppiumDriver->>GenericAppiumDriver: Get current page source (before scroll)
GenericAppiumDriver->>GenericAppiumDriver: Scroll down
GenericAppiumDriver->>GenericAppiumDriver: Wait (1000ms)
GenericAppiumDriver->>GenericAppiumDriver: Get new page source (after scroll)
alt Page source unchanged
GenericAppiumDriver->>GenericAppiumDriver: Break loop
end
end
GenericAppiumDriver-->>User: Return screenshots
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learningsGinger/GingerCoreNET/Drivers/CoreDrivers/Mobile/Appium/GenericAppiumDriver.cs (1)undefined <retrieved_learning> 🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Thank you for your contribution.
Before submitting this PR, please make sure:
Summary by CodeRabbit
Bug Fixes
Style