You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description:** Runs a Lighthouse audit on the currently selected page.
45
+
46
+
**Parameters:**
47
+
48
+
-**categories** (array) _(optional)_: The categories to audit. Defaults to all available categories.
49
+
-**device** (enum: "desktop", "mobile") _(optional)_: The device to [`emulate`](#emulate). "desktop" is the default. "mobile" emulates a mobile device.
50
+
-**formats** (array) _(optional)_: Report formats to produce.
51
+
-**mode** (enum: "navigation", "snapshot") _(optional)_: The mode to run Lighthouse in. "navigation" is the default and will reload the current page. "snapshot" analyzes the page in its current state.
52
+
-**outputDirPath** (string) _(optional)_: The directory to output the reports to. If not provided, temporary files will be created.
0 commit comments