Back to Docs
Debugging

multi-eval

Execute JavaScript across all open tabs in parallel and display each result.

Usage

$ cdpilot multi-eval <js>

Arguments

NameRequiredDescription
jsrequiredJavaScript expression to run on every tab

Examples

Get the title of every open tab

$ npx cdpilot multi-eval "document.title"