Skip to content

Web snapshot

Tool web_snapshot

Description

Take a snapshot of the current page state and save it with the provided screen name. This captures a screenshot and the page’s accessibility tree for logging and debugging.

Command Class

xyz.block.trailblaze.playwright.tools.PlaywrightNativeSnapshotTool

Registered PlaywrightNativeSnapshotTool in ToolRegistry

Required Parameters

  • screenName: String Name for the screen being captured (e.g., ‘login_page’, ‘dashboard’).

Optional Parameters

  • reasoning: String

NOTE: THIS IS GENERATED DOCUMENTATION