Skip to main content
Run Lighthouse (official CLI) against the developer-mode browser and return category scores, key metrics, failing audits, plus HTML and JSON report artifacts. Developer mode only; Lighthouse opens its own tab in that browser.
Developer mode only. Lighthouse opens its own tab in the developer browser and needs a window, so headless contexts are not supported.

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
string
Defaults to the current URL of the tab
enum
One of: mobile, desktop.
enum[]
Items: performance, accessibility, best-practices, seo, pwa.
integer
Range: … to 600000.
string[]
 

Example