Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update browser_use/browser/session.py

Nick Sweeting97e5d002fecf
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.py
index 17f2dbcb5..b0e0fa1ad 100644
--- a/browser_use/browser/session.py
+++ b/browser_use/browser/session.py
@@ -3035,7 +3035,7 @@ class BrowserSession(BaseModel):
Injects a DVD screensaver-style bouncing logo loading animation overlay into the given Playwright Page.
This is used to visually indicate that the browser is setting up or waiting.
"""
- if os.environ.get('IS_IN_EVALS', 'false').lower()[0] == 'ty1':
+ if os.environ.get('IS_IN_EVALS', 'false').lower()[0] in 'ty1':
# dont bother wasting CPU showing animations during evals
return