← Back to wkappbot-webbot
wkappbot-webbot ★★★

cdp open Reuses Existing Chrome and Opens URL as New Tab

wkappbot cdp open <url> first checks for an alive Chrome registered to this project (via Window Property GetLaunchedPort, falling back to FindRunningChromePort over the per-project user-data-dir). When found, it skips ChromeLauncher.LaunchAsync entirely and lets ConnectCdp drive Target.createTarget into a NEW TAB on the existing instance. Only when no live registration is found does it fall through to a fresh Chrome launch. Prevents the *** storm reported 2026-05-05.

user/developer
cdpopenreusetab-creationTarget.createTargetchrome-launcherduplicate-window-fix

Steps

  1. WebOpenCommand entry: set ChromeLauncher.Def...
  2. Reuse probe (priority order): 1) ChromeLaunc...
  3. Each candidate port verified live via Chrome...
  4. Reuse path: skip LaunchAsync. Print 'Reusing...
  5. Launch path: only when both reuse probes ret...
  6. --new-window opt-out: skips reuse probe, for...
  7. Port isolation: ports are SHA256-derived fro...
  8. ROOT CAUSE (2026-05-26): Chrome multiplicati...
  9. HARNESS BUILD PATTERN: wkappbot exec is the...
  10. MULTIPLICATION ROOT CAUSE + FIX (2026-05-26,...
  11. 3. VERIFY SESSION HEALTH (before troubleshoo...
🔒 Pro Skill
Get Pro Access →