Repository navigation
Retire the browser_install tool - #6
Merged
Merged
Conversation
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.
browser_install is gone, so the e2e server lists 19 tools, not 20.
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by David · project thread
Why
Selenium Manager already fetches a matching browser and driver when a session starts, so
browser_installduplicated 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
browser_installfromlib/tools/inspect.jsand from the README tool table.SessionNotCreatedErrormessage no longer points atbrowser_install; it now says to check that the browser is installed where it runs.--capsgroups and--allow-evaluateare opt-in and don't count. Stated intest/unit/tools_test.js, README and AGENTS.md. The assertion itself is unchanged (it already checked only the default list).test/unit/tools_test.js,test/e2e/tools_test.jsand nearby README lines, so whichever merges second needs a small rebase.Testing
npm run lintandnpm run test:unitpass locally (75 tests).selenium-webdriverwas 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