Co-authored-by: Douglas <douglas.ym.lai@gmail.com> Co-authored-by: Douglas Lai <115660088+Douglasymlai@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Tao Sun <168447269+fengju0213@users.noreply.github.com> Co-authored-by: Weijie Bai <happy.regina.bai@gmail.com>
2.3 KiB
| title | description | icon |
|---|---|---|
| Browser connections | Launch a managed browser or connect an existing CDP-enabled browser. | globe |
The browser pool contains Chrome DevTools Protocol sessions that Eigent agents can use.
Open a new browser
- Open Browser > Connections.
- Select Open new browser.
- Wait for Eigent to launch the browser and add it to the pool.
The browser item displays its name and debugging port.
Screenshot placeholder: Add a screenshot of the browser pool with two active browsers and their ports.
Connect an existing browser
Start Chrome or Chromium with remote debugging enabled. For example:
google-chrome --remote-debugging-port=9222
The executable name differs by operating system and installation.
Then:
- Open Browser > Connections.
- Select Connect existing browser.
- Enter the remote-debugging port.
- Select Connect.
Eigent checks http://localhost:<port>/json/version before adding the browser.
Choose a port
Use a port from 1 to 65535. The port must:
- Belong to a running CDP-enabled browser
- Not already exist in the Eigent browser pool
- Be reachable from the Eigent application
Remove a browser
- Find the browser in the pool.
- Select its delete action.
- Confirm the removal.
Removing a browser disconnects it from Eigent. It does not necessarily close an external browser process.
Use the browser in a task
- Ensure a Browser worker is available.
- Start a task that requires web interaction.
- Open the Browser agent workspace in the Session.
- Use Take Control when the agent requests manual interaction.
Video placeholder: Add a 60-second MP4 showing Chrome started with remote debugging, connection through port
9222, and a successful Browser-agent navigation. Include captions.
Troubleshooting
Invalid port
Enter a whole number between 1 and 65535.
Port already in use
The port is already registered in the browser pool. Use the existing item or start another browser on a different port.
No browser found
Confirm that the browser is running with remote debugging and that /json/version responds.
The browser disappears after restart
External browser processes and ports can change. Start the browser again and reconnect it.