Chrome DevTools

Browser automation and debugging with Chrome DevTools MCP Server

Take Snapshot

AI-generated

Summary

Take a text snapshot of the current webpage along with element UIDs for browser automation referencing.

Inputs

None.

Output shape

a single JSON object containing the text snapshot and element UIDs

Returns the snapshot data formatted as JSON; no input parameters are required or configurable for this operation.

Examples

Example 1: Use this operation to capture the entire page's DOM content as text with element identifiers, enabling subsequent workflow steps like clicking or filling using these UIDs.

No additional parameters; simply select the 'Take Snapshot' operation.

Discussion