feat: add Helium browser to macOS DevToolsActivePort discovery#41
Open
nikolay-bratanov wants to merge 1 commit into
Open
feat: add Helium browser to macOS DevToolsActivePort discovery#41nikolay-bratanov wants to merge 1 commit into
nikolay-bratanov wants to merge 1 commit into
Conversation
Helium (https://helium.computer, package net.imput.helium) is a privacy-focused Chromium fork for macOS. It writes DevToolsActivePort to ~/Library/Application Support/net.imput.helium/, which the existing discovery list does not cover, so the tool falls back to "No DevToolsActivePort found" or requires the CDP_PORT_FILE workaround. Add 'net.imput.helium' to macBrowsers so default discovery picks it up the same way it does Chrome, Brave, and Chromium. Tested on macOS 15.4 with Helium 0.11.7.1 (Chromium 147.0.7727.137 base). The remote-debugging port is enabled via chrome://inspect/#remote-debugging toggle; Helium also requires --remote-allow-origins=* at launch (Chromium 128+ origin allowlist), which is browser-side configuration unrelated to this change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Adds Helium (
net.imput.helium) to the macOS browser candidates ingetWsUrl()so default discovery picks up itsDevToolsActivePortwithout requiringCDP_PORT_FILE.const macBrowsers = [ 'Google/Chrome', 'Google/Chrome Beta', 'Google/Chrome for Testing', 'Chromium', 'BraveSoftware/Brave-Browser', 'Microsoft Edge', + 'net.imput.helium', ];Helium is a privacy-focused Chromium fork for macOS. It uses its bundle id as the profile directory name (under
~/Library/Application Support/), which is why it falls outside the existing entries.Tested
cdp list,cdp shot,cdp navall working end-to-endNote: Helium also requires
--remote-allow-origins=*at launch (Chromium 128+ origin allowlist) for anycdp.mjscommand to actually succeed — that's documented separately in #40 and is browser-side configuration, unrelated to this change.Test plan
cdp listdiscovers Helium'sDevToolsActivePortautomatically (noCDP_PORT_FILEenv var).