# NousResearch/hermes-agent · Closing browser tabs on cleanup in CDP/shared browser mode

## Open now

- 1 issue, 2 PRs open on GitHub.
- #21532: Bug: CDP Browser Mode Does Not Close Tabs on Cleanup
- PR #21534: feat(browser): add cdp_close_tabs_on_cleanup config option
- PR #149116: fix(browser): close the tabs browser_exec opened on a shared browser

These members share a theme: tab cleanup in CDP/shared browser mode. One is a bug report that tabs are not closed on cleanup, one is a fix for tabs opened by browser_exec on a shared browser, and one adds a cdp_close_tabs_on_cleanup config option. The titles do not show the current status or outcome of any of them.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #21532: Bug: CDP Browser Mode Does Not Close Tabs on Cleanup

## Prior & competing PRs

- **#21534: feat(browser): add cdp_close_tabs_on_cleanup config option**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `tools/browser_tool.py`
- **#149116: fix(browser): close the tabs browser_exec opened on a shared browser**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `e5a7d1ff8e5e6442604cf57e9f8312e002bbc04c`, `#149116`, `#21532`
  - files: `hermes_cli/config_defaults.py`, `hermes_cli/web_server_app.py`, `tests/tools/conftest.py`, `tests/tools/test_bot_desktop_browser.py`, `tests/tools/test_bot_desktop_browser_fence.py`, `tests/tools/test_browser_cleanup.py`, `tests/tools/test_browser_hybrid_routing.py`, `tests/tools/test_browser_lightpanda.py`, `tests/tools/test_browser_profile_live_cdp.py`, `tests/tools/test_browser_profile_scope_edges.py`, `tests/tools/test_browser_session_owned_tabs.py`, `tests/tools/test_browser_use_cli.py`, `tests/tools/test_browser_use_cli_owned_daemon.py`, `tests/tui_gateway/test_tui_gateway_server_browser_manage.py`, `tools/browser_harness_dirs.py`, `tools/browser_session.py`, `tools/browser_session_cdp.py`, `tools/browser_session_lifecycle.py`, `tools/browser_session_owned_tabs.py`, `tools/browser_use_cli.py` (+6 more)

## Fix status

- No merged fix on record.
- Subsystem: `agent`
- Kind: `bug` (from the open issues' GitHub type labels).
