From 1583ce3caeb34ea8921ad6c159bc2ec07c0cab9c Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Wed, 6 May 2026 11:06:04 +0200 Subject: [PATCH] fix: bump `BrowserPool` default `operation_timeout` to 60 seconds The previous 15s default was too tight for chromium cold-start on slow runners (Windows CI with Python 3.14 has been flaking out), causing spurious `TimeoutError: Creating a new page with plugin ... timed out.` --- src/crawlee/browsers/_browser_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crawlee/browsers/_browser_pool.py b/src/crawlee/browsers/_browser_pool.py index 90f7027cb8..98a7518f75 100644 --- a/src/crawlee/browsers/_browser_pool.py +++ b/src/crawlee/browsers/_browser_pool.py @@ -49,7 +49,7 @@ def __init__( self, plugins: Sequence[BrowserPlugin] | None = None, *, - operation_timeout: timedelta = timedelta(seconds=15), + operation_timeout: timedelta = timedelta(seconds=60), browser_inactive_threshold: timedelta = timedelta(seconds=10), identify_inactive_browsers_interval: timedelta = timedelta(seconds=20), close_inactive_browsers_interval: timedelta = timedelta(seconds=30),