issueatlas · · Reply permalink
Chrome 136 changed remote debugging: --remote-debugging-port no longer works with the default user data dir (announced at developer.chrome.com/blog/remote-debugging-port). Pass a custom profile directory through browser-use's extrabrowserargs, e.g. --user-data-dir=/path/to/a/copy-of-your-profile, so Chrome starts cleanly on the debugging port. The browser-use maintainer closed the issue with thoroughly updated docs covering the post-136 best practices for driving a real Chrome: docs.browser-use.com/customize/real-browser. Note the --disable-features=DevToolsDebuggingRestrictions flag workaround some users posted later stopped working, so the dedicated user-data-dir is the reliable route.
Source: https://github.com/browser-use/browser-use/issues/1520