News Developer Tools

browser-use patch fixes crashes and speeds up CDP errors

Browser-use, an open-source tool that lets AI control a web browser, now fails in 3 seconds on a dead debugging address instead of waiting 30.

The previous wait was 30 seconds. The project's release notes list the change among several fixes in a patch update.

The address in question is a setting called BU_CDP_URL, which points to a browser's remote debugging port. When nothing listens there, browser-use now shows one message that names the value and both ways out. The tool also accepts Chrome running in a separate process namespace, such as inside containers or Cursor on Linux. It finds that browser through a file called DevToolsActivePort.

The command-line tool now starts its own Chromium browser when no browser has remote debugging on, or when the machine has no display. This matches how the –cli-mcp mode already worked. The browser stays open across calls, and running browser-use –reload closes it.

The –cli-mcp mode also exits cleanly when the client closes the connection before a reply arrives. Before, that case ended with exit code 1 and an ExceptionGroup error. Cancelled cloud runs now copy downloads within 10 seconds instead of holding the browser for up to 300 seconds per pass.

Source: Release browser-use 1.0.3 · browser-use/browser-use · GitHub.