Skip to content

Retire the browser_install tool - #6

Merged
AutomatedTester merged 2 commits into
trunkfrom
claude/project-thread-voygss
Nov 25, 2026
Merged

AutomatedTester merged 2 commits into
trunkfrom
claude/project-thread-voygss

Conversation

@AutomatedTester

@AutomatedTester AutomatedTester commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Requested by David · project thread

Why

Selenium Manager already fetches a matching browser and driver when a session starts, so browser_install duplicated that while taking one of the 25 default tool slots that every agent pays for on every turn. Playwright MCP has dropped its install tool too.

What changed

  • Removed browser_install from lib/tools/inspect.js and from the README tool table.
  • The SessionNotCreatedError message no longer points at browser_install; it now says to check that the browser is installed where it runs.
  • The 25-tool cap now says explicitly that it covers the default list only: --caps groups and --allow-evaluate are opt-in and don't count. Stated in test/unit/tools_test.js, README and AGENTS.md. The assertion itself is unchanged (it already checked only the default list).
  • The e2e tool count drops from 20 to 19.
  • Default tools drop from 21 to 20 on trunk, which frees a slot for the Grid tools in Add Selenium Grid tools and saved Grids #3. The overlap with Add Selenium Grid tools and saved Grids #3 is the tool lists/counts in test/unit/tools_test.js, test/e2e/tools_test.js and nearby README lines, so whichever merges second needs a small rebase.

Testing

  • npm run lint and npm run test:unit pass locally (75 tests).
  • e2e runs in CI (no GitHub Packages token for the nightly selenium-webdriver was available locally).

AI assistance

This change was written with Claude Code and reviewed against the repository's contribution guide.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LA4X4xSnNVUppbk6KEsfc5

Selenium Manager already fetches a matching browser and driver when a
session starts, so the tool duplicated that and spent one of the 25
default tool slots on every agent turn. Playwright MCP has dropped its
install tool too.

The 25-tool cap covers the default list only; groups enabled with
--caps or --allow-evaluate are opt-in and do not count toward it. Say
so in the test, the README and AGENTS.md.
@AutomatedTester AutomatedTester self-assigned this Nov 25, 2026
browser_install is gone, so the e2e server lists 19 tools, not 20.
@AutomatedTester
AutomatedTester merged commit c9fcdf7 into trunk Nov 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant