Class: HeadlessBrowserTool::Tools::GetAttributeTool
- Inherits:
-
BaseTool
- Object
- FastMcp::Tool
- BaseTool
- HeadlessBrowserTool::Tools::GetAttributeTool
- Defined in:
- lib/headless_browser_tool/tools/get_attribute_tool.rb
Instance Method Summary collapse
Instance Method Details
#execute(selector:, attribute_name:) ⇒ Object
16 17 18 |
# File 'lib/headless_browser_tool/tools/get_attribute_tool.rb', line 16 def execute(selector:, attribute_name:) browser.get_attribute(selector, attribute_name) end |