Skip to content

Running error: DevTools listening on ws://127.0.0.1:52797/devtools/browser ... #407

@Leannechn

Description

@Leannechn

running the main branch code ,use tool browser_navigate. error message:

Error: WebSocket error: ws://127.0.0.1:52797/devtools/browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9 200 OK
Call log:
�[2m  - <launching> /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=AcceptCHFrame,AutoExpandDetailsElement,AvoidUnnecessaryBeforeUnloadCheckSync,CertificateTransparencyComponentUpdater,DestroyProfileOnBrowserClose,DialMediaRouteProvider,ExtensionManifestV2Disabled,GlobalMediaControls,HttpsUpgrades,ImprovedCookieControls,LazyFrameLoading,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Translate,AutomationControlled --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --enable-use-zoom-for-dsf=false --no-sandbox --user-data-dir=/Users/leannechen/Library/Caches/ms-playwright/mcp-chrome-profile --remote-debugging-port=52797 about:blank�[22m
�[2m  - <launched> pid=72608�[22m
�[2m  - [pid=72608][err]�[22m
�[2m  - [pid=72608][err] DevTools listening on ws://127.0.0.1:52797/devtools/browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9�[22m
�[2m  - <ws connecting> ws://127.0.0.1:52797/devtools/browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9�[22m
�[2m  - [pid=72608][err] [72608:379513:0513/101955.642540:ERROR:content/browser/devtools/devtools_http_handler.cc:437] GetMimeType doesn't know mime type for: browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9 text/plain will be returned�[22m
�[2m  - [pid=72608][err] [72608:379256:0513/101955.975964:ERROR:content/browser/devtools/devtools_http_handler.cc:437] GetMimeType doesn't know mime type for: browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9 text/plain will be returned�[22m
�[2m  - <ws unexpected response> ws://127.0.0.1:52797/devtools/browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9 200 OK�[22m
�[2m  - <ws error> ws://127.0.0.1:52797/devtools/browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9 error WebSocket was closed before the connection was established�[22m
�[2m  - <ws connect error> ws://127.0.0.1:52797/devtools/browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9 WebSocket was closed before the connection was established�[22m
�[2m  - <ws disconnected> ws://127.0.0.1:52797/devtools/browser/6e7d7a48-f50b-41c7-8046-442df60ff3c9 code=1006 reason=�[22m

Running luanch alone is normal and can be run。
env: Mac ARM, Macos@15.4.1; and Chrome is 136.0.7103.93

I have tried various methods but to no avail, can provide some suggestions?
I have used version 0.0.11 and it can be executed normally.
I also run playwright codegen and it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions