Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection