fix(browser): add missing action-to-method mappings in CDP bridge

url, title, reload, go_back, go_forward, tab_info were not mapped
to their hanzo.* / Page.* CDP equivalents, causing "Unknown method"
errors when routed through the extension.
This commit is contained in:
2026-03-10 09:45:15 -07:00
parent ef77e9d31f
commit d02dda001b
@@ -367,6 +367,12 @@ class CDPBridgeServer:
"evaluate": "Runtime.evaluate",
"tabs": "Target.getTargets",
"status": "Browser.getVersion",
"url": "hanzo.url",
"title": "hanzo.title",
"reload": "Page.reload",
"go_back": "Page.goBack",
"go_forward": "Page.goForward",
"tab_info": "hanzo.tabInfo",
}
return action_map.get(action, action)