Find Selector Skill
This skill helps identifying the robust CSS selector for a text or element on a webpage, which is required for the monitoring configuration.
Instructions
- •Understand the Requirement: Identify which element the user wants to monitor (e.g., "the price of the item", "the stock status text").
- •Open Browser: Use
open_browserto navigate to the target URL. - •Inspect Element: Use the
browser_subagentto find the unique selector.- •Prompt the subagent: "Find the unique CSS selector for [description of element]. Prioritize IDs or specific class combinations that look stable. Return ONLY the selector."
- •Verify:
- •(Optional) Use
run_entry_pointorscreenshot.jslocally with the found selector to verify it captures the correct data.
- •(Optional) Use
- •Report: Return the found selector to the user or use it in the
add_targetworkflow.