Class: AgentSandbox::BrowserTools::GetText

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:) ⇒ Object



169
170
171
# File 'lib/agent_sandbox/browser_tools.rb', line 169

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