Skip to content

Conversation

@meirk-brd
Copy link
Collaborator

Summary

Added a new scraping_browser_fill_form tool that allows filling multiple form fields in a single operation, improving efficiency and reducing the number of tool calls needed for form interactions.

Changes

  • New tool: scraping_browser_fill_form - Fill multiple form fields at once

    • Supports textbox, checkbox, radio, combobox, and slider field types
    • Uses ref-based element selection for reliable targeting
    • Provides detailed feedback for each filled field
  • Updated tool groups: Added the new tool to the browser interaction tool group

Features

The new tool supports:

  • Textbox/Slider: Fill with text values
  • Checkbox/Radio: Set checked state (true/false)
  • Combobox: Select options by label

Benefits

  • More efficient: Fill entire forms in one operation instead of multiple separate tool calls
  • Better UX: Reduces back-and-forth between LLM and browser
  • Consistent: Uses the same ref-based targeting as other browser tools
  • Reliable: Built on top of existing ref_locator infrastructure

Example Usage

{
  fields: [
    {name: "Email", type: "textbox", ref: "23", value: "[email protected]"},
    {name: "Subscribe", type: "checkbox", ref: "24", value: "true"},
    {name: "Country", type: "combobox", ref: "25", value: "United States"}
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants