Skip to content

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

feat: disallow Google AI Overview on search

michaelgathara02240218090e
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.py
index 93f3758f3..c0427fcff 100644
--- a/browser_use/controller/service.py
+++ b/browser_use/controller/service.py
@@ -42,7 +42,7 @@ class Controller:
)
async def search_google(params: SearchGoogleAction, browser: BrowserContext):
page = await browser.get_current_page()
- await page.goto(f'https://www.google.com/search?q={params.query}')
+ await page.goto(f'https://www.google.com/search?q={params.query}&udm=14')
await page.wait_for_load_state()
msg = f'🔍 Searched for "{params.query}" in Google'
logger.info(msg)