# Legacy tools (kept for reference, not used) Original versions of scripts that were superseded during the 2026-08-24 audit. Each had at least one of these defects: * hardcoded WebView debug socket `webview_devtools_remote_18732` (the PID changes every time the app restarts, so they broke on the next launch); * `targets[0]` without checking the target type; * one `ws.recv()` after `Page.enable`/`Network.enable` treated as the command reply, when CDP interleaves events with replies; * screenshot geometry that did not match the DOM coordinate space used for hotspots; * synthesised metrics (`1200 + n * 410`) presented as measured analytics. The working replacements are `tools/capture_screen.py`, `tools/crawl_and_map_all.py`, `tools/monitor_live_events.py` and `tools/inspect_page.py`, all built on `tools/telecom_cdp.py`.