Skip to content

web_verifyValue

Verify the value of an element on the page. Supports checking: - TEXT: the text content of any element - VALUE: the input value of a form field (input, textarea, select) - ATTRIBUTE: the value of an HTML attribute

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.playwright.tools.PlaywrightNativeVerifyValueTool

Contract

  • Visible to LLM: yes (surface_to_llm: true)
  • Recordable: yes (is_recordable: true)
  • Host-only: no (requires_host: false)

Input schema

Required parameters

  • expectedString The expected value to verify against.

Optional parameters

  • refString Element ID (e.g., ‘e5’), ARIA descriptor (e.g., ‘textbox “Email”’), or CSS selector with css= prefix (e.g., ‘css=#email-input’).
  • typeToolParameterType.Enum( entries = [TEXT, VALUE, ATTRIBUTE] ) What property of the element to verify. TEXT checks visible text content, VALUE checks form field input values, ATTRIBUTE checks a specific HTML attribute.
  • attributeString The attribute name to check (required when type is ATTRIBUTE).
  • reasoningString

Output

Returns: string (opaque text content)

Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.