Summary
Add functions that let AI understand the overall page structure. This is the most important change for AI agent support.
Priority: Highest
Current Problem
There is no way for AI to get an overview of the page. find_element assumes the caller already knows the selector.
AI needs a way to discover "what is on this page."
Proposal
get_clickable_elements # List of clickable elements (a, button, input[type=submit], etc.)
get_form_fields # List of form fields (name, type, placeholder, etc.)
get_page_summary # Title + URL + main text + links as JSON
get_element_info "$element" # All attributes of a single element as JSON
Summary
Add functions that let AI understand the overall page structure. This is the most important change for AI agent support.
Priority: Highest
Current Problem
There is no way for AI to get an overview of the page.
find_elementassumes the caller already knows the selector.AI needs a way to discover "what is on this page."
Proposal