Soham Kukreti
34c0996ee4
fix: Add CDP endpoint verification with exponential backoff for managed browsers (#1445)
browser_manager:
- Add CDP endpoint verification with retry logic and exponential backoff
- Call verification before connecting to CDP in `start()` method
- Graceful handling of timing issues during browser startup
test_cdp_strategy:
- Fix cookie persistence test by adding storage state management
- Fix session management test to work with managed browser architecture
- Add comprehensive CDP timing tests covering:
- Fast startup scenarios
- Delayed browser startup simulation
- Exponential backoff behavior validation
- Concurrent browser connections
- Stress testing with multiple successive startups
- Retry count verification
Impact:
- Eliminates browser startup failures due to CDP timing issues
- Provides robust fallback with automatic retries
- Maintains fast startup when CDP is immediately available
- Comprehensive test coverage ensures reliability
Resolves CDP connection timing issues in managed browser mode.
2025-09-29 19:31:09 +05:30
..
2025-03-30 20:58:39 +08:00
2025-03-31 21:55:07 +08:00
2025-03-23 18:53:24 +08:00
2025-03-30 20:58:39 +08:00
2025-03-21 22:50:00 +08:00
2025-09-29 19:31:09 +05:30
2025-03-21 22:50:00 +08:00
2025-03-07 20:55:56 +08:00
2025-03-23 18:53:24 +08:00
2025-03-28 22:47:28 +08:00
2025-06-12 14:33:12 +03:00