8000 All 8 browser tools unusable: no browser binary bootstrap or system-browser fallback · Issue #9 · Mnehmos/mnehmos.ooda.mcp · GitHub
[go: up one dir, main page]

Skip to content
  • All 8 browser tools unusable: no browser binary bootstrap or system-browser fallback #9

    Open

    Description

    @Mnehmos

    All 8 browser tools (launch_browser, navigate_page, get_page_content, screenshot_page, click_element, type_text, evaluate_js, get_console_logs) are unusable on a clean install.

    Repro

    launch_browser(headless: true)
    -> browserType.launch: Executable doesn't exist at
       ...ms-playwright\chromium_headless_shell-1200\...
       Please run: npx playwright install
    
    launch_browser(engine: "puppeteer", headless: true)
    -> Could not find Chrome (ver. 143.0.7499.40).
       npx puppeteer browsers install chrome-headless-shell
    

    Context

    The audit log shows 65 historical evaluate_js and 28 screenshot_page calls, so this worked at some point and regressed when a browser cache was invalidated by a dependency bump. puppeteer and playwright are hard dependencies in package.json, yet nothing downloads a browser binary.

    Fix

    1. Fall back to a locally installed system browser (Chrome / Edge) via Puppeteer channel or an explicit executablePath before failing.
    2. Surface an actionable error naming the exact install command when no browser can be found.
    3. Add a browsers:install npm script so the bootstrap is one documented command.

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      bugSomething isn't working

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

      • 0