Class: AgentSandbox::BrowserTools::Fill

Inherits:
Base
  • Object
show all
Defined in:
lib/agent_sandbox/browser_tools.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #run_ab

Constructor Details

This class inherits a constructor from AgentSandbox::BrowserTools::Base

Instance Method Details

#execute(ref:, text:) ⇒ Object



156
157
158
# File 'lib/agent_sandbox/browser_tools.rb', line 156

def execute(ref:, text:)
  run_ab(["fill", normalize_ref(ref), text, "--json"])
end