Add CDP attachment for running real browsers - #71
Merged
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: #66
konard
marked this pull request as ready for review
August 2, 2026 04:20
Member
Author
Working session summaryImplemented and finalized issue #66.
PR: #71 💰 Cost estimation:
📊 Context and tokens usage:
Total: (509.4K + 13.0M cached) input tokens, 71.0K output tokens, $21.269639 cost This summary was automatically extracted from the AI working session output. |
Member
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (509.4K + 13.0M cached) input tokens, 71.0K output tokens, $21.269639 cost 🤖 Models used:
📎 Log file uploaded as Gist (4867KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
Member
Author
🎉 Auto-mergedThis pull request has been automatically merged by hive-mind.
Auto-merged by hive-mind with --auto-merge flag |
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.
Summary
connectBrowser(...)for attaching Playwright or Puppeteer to an existing CDP endpoint while preserving the{ browser, page }contract used by Browser CommanderlaunchAndConnectRealBrowser(...)to discover genuine installed Chrome, Edge, Brave, or Chromium binaries across Linux, macOS, and Windows, launch them with a dedicated profile, wait for CDP, and attachRoot cause and reproduction
Browser Commander only exposed managed browser launch paths. A caller with a genuine installed browser already listening on CDP had no supported way to obtain the same
{ browser, page }handle, and launching an automation-bundled browser does not satisfy sites that require a normal installed browser.Before this change, importing or calling a browser connector failed because no connector API existed. A representative real-browser setup is:
Chrome 136+ requires the remote-debugging profile to differ from the default browser profile. The launch helper enforces that boundary and never downloads or selects a bundled Chromium.
Verification
makeBrowserCommander({ page })against the connected pageThis is a non-visual API change, so screenshots are not applicable.
Closes #66