Open a Developer Tools panel for a tab
browser_devtools_openOpen Firefox DevTools on a specific tab and select a panel like inspector or console to debug and inspect web pages.
Instructions
Open the Firefox DevTools toolbox on a tab and select one tool panel. MEASURED: the entry point is gDevTools.showToolboxForTab(tab, {toolId}) — there is no gDevTools.openToolbox in this build. Tool ids come from browser_devtools_tools. The toolbox may open in a separate window, which is why its markup is not visible in the browser document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Which panel to select | |
| context | No | Tab to inspect (default: the active tab) |