Skip to content

Web type

Tool web_type

Description

Type text into a web input element identified by its element ID, ARIA descriptor, or CSS selector. By default this clears the field first and fills in the new text. Set clearFirst to false to append text instead.

Command Class

xyz.block.trailblaze.playwright.tools.PlaywrightNativeTypeTool

Registered PlaywrightNativeTypeTool in ToolRegistry

Required Parameters

  • text: String The text to type into the element.

Optional Parameters

  • ref: String Element ID (e.g., ‘e5’), ARIA descriptor (e.g., ‘textbox “Email”’), or CSS selector with css= prefix (e.g., ‘css=#email-input’).
  • clearFirst: Boolean If true (default), clear the field before typing. If false, append to existing text.
  • reasoning: String

NOTE: THIS IS GENERATED DOCUMENTATION