> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simular.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SnapshotPrintOptions

> Options for [].

Options for \[`AccessibilitySnapshot.toStringWith`].

## Properties

<ResponseField name={"collapseStructural"} type={"boolean"}>
  Hoist unnamed structural wrappers out of the output: the wrapper line
  is skipped and its children are rendered at the depth the wrapper
  would have had. The root is always rendered. Defaults to `true`.
</ResponseField>

<ResponseField name={"interactiveOnly"} type={"boolean"}>
  Only render interactive elements (buttons, links, inputs, …) and the
  ancestors needed to give them context: a node is dropped when its
  role is not interactive **and** no rendered node exists below it.
  Defaults to `false`.
</ResponseField>

<ResponseField name={"maxChars"} type={"number"}>
  Maximum characters per node name; longer names are cut and suffixed
  with `…`. Also caps rendered values, which are capped at 80 characters
  when this is unset.
</ResponseField>

<ResponseField name={"maxDepth"} type={"number"}>
  Maximum rendered depth (post-collapse, `0`-based). Nodes deeper than
  this — and their entire subtrees — are dropped. Unset renders all
  depths.
</ResponseField>
