Conditional Logic
Practice conditionally handling maintenance pages, cookie banners, stock states, WAF blocks, prompts, CAPTCHAs, and fallback searches. Branching on what the page actually shows is what makes automations robust instead of brittle.
Category progress
#1
Completed
Beginner
Wait for Maintenance Banner
Use if/else branching based on element visibility
Conditional Logic Uses 2 commands
#2
Completed
Beginner
Accept Cookie Consent Before Scraping
Accept cookie consent banners conditionally
Conditional Logic Uses 2 commands
#3
Completed
Intermediate
Check Stock Status and Extract Price
Branch based on the presence of a captcha
Conditional Logic Uses 2 commands
#4
Completed
Intermediate
Detect Access Denied and Handle WAF
Chain multiple conditions
Conditional Logic Uses 2 commands
#5
Completed
Intermediate
Skip Upgrade Prompt
Dismiss upgrade prompts or modals
Conditional Logic Uses 2 commands
#6
Completed
Advanced
Detect and Solve CAPTCHA
Detect and solve captchas conditionally
Conditional Logic Uses 2 commands
#7
Completed
Advanced
Search Fallback with Alternate Keyword
Implement search fallback with alternate inputs
Conditional Logic Uses 2 commands
You haven't completed any scenarios in this category yet. Pick the first one above to get started.
You've completed every scenario in this category. Time to try a harder path.
Explore learning paths