Collapse a raw browser-action error into one actionable line, dropping
Playwright's multi-line call log. Returns the headline alone when nothing
intercepted, or the headline plus a named-blocker recovery hint when it did —
an undistilled timeout reads as "the element isn't there" and the controller
retries the identical click.
Collapse a raw browser-action error into one actionable line, dropping Playwright's multi-line call log. Returns the headline alone when nothing intercepted, or the headline plus a named-blocker recovery hint when it did — an undistilled timeout reads as "the element isn't there" and the controller retries the identical click.