Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Update browser_use/browser/session.py
Nick Sweeting5158419fc7b4
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.pyindex 425f2aa65..6291c01d5 100644--- a/browser_use/browser/session.py+++ b/browser_use/browser/session.py@@ -657,7 +657,7 @@ class BrowserSession(BaseModel):@retry(wait=2, # wait 2s between each attempt to take a screenshotretries=2, # try up to 2 times to take the screenshot- timeout=20, # allow up to 20s for each attempt to take a screenshot+ timeout=35, # allow up to 35s for each attempt to take a screenshotsemaphore_name='screenshot_global',semaphore_limit=3, # only 3 concurrent screenshots at a time total on the entire machine (ideally)semaphore_scope='global', # because it's a hardware VRAM bottleneck, chrome crashes if too many concurrent screenshots are rendered via CDP