-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Chrome >= v136 no longer supports being driven over CDP while using the default --user-data-dir profileΒ #1520
Description
Bug Description
It fails to connect to a Chrome profile
but, It works properly with Chromium only
LLM Model : AzureOpenAI
ERROR :
INFO [agent] π Step 1
ERROR [browser] β Failed to start a new Chrome instance: BrowserType.connect_over_cdp: connect ECONNREFUSED ::1:9222
Call log:
- retrieving websocket url from http://localhost:9222
ERROR [browser] Failed to initialize Playwright browser: To start chrome in Debug mode, you need to close all existing Chrome instances and try again otherwise we can not connect to the instance.
ERROR [browser] β Failed to create new browser session: To start chrome in Debug mode, you need to close all existing Chrome instances and try again otherwise we can not connect to the instance. (did the browser process quit?)
WARNING [browser]
Reproduction Steps
One week ago the agent work as expected, I'm having issue with it since today :
- Launch code
- Run the following task : Visit google.com
- see error (above)
Code Sample
browser = Browser(
config=BrowserConfig(
chrome_instance_path='/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
new_context_config=context_cfg,
headless=False # run in headful mode for debugging
)
)Version
Version: 0.1.41rc2
LLM Model
Other (specify in description)
Operating System
macOS 13.1