Documentation
¶
Overview ¶
Package target resolves a <target> spec against the live set of Chrome tabs.
Grammar (live-resolved, no stale cache):
<idprefix> unique prefix of the CDP target id (canonical, case-insensitive) url:<substr> case-insensitive substring match on the tab URL title:<substr> case-insensitive substring match on the tab title @N 1-based index into the current list order (ephemeral)
Index ¶
Constants ¶
View Source
const NoCurrentTargetMsg = `no target given and no current tab set — run "chrome-cdp list", then "use <target>" or pass --target`
NoCurrentTargetMsg is the message used when no target is given and none is sticky. Shared so the CLI's pre-connect guard and Resolve stay in sync.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.