Browser

Heal a broken selector

post/v1/browser/heal

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/browser/heal
  • Auth: HTTP bearer

Request body

selectorstring required

Piper selector to repair, for example role:button:Submit

Response

Healed selector suggestion

healedboolean required
selectorstring nullable

Healed selector when a candidate was found

confidencestring nullable

Confidence label for the healed selector (high or medium)

originalstring required

Original selector that failed

candidateNamestring nullable

Accessible name of the chosen candidate when healing succeeds

candidateRolestring nullable

Accessibility role of the chosen candidate when healing succeeds

sourcestring required

Healing source, currently ax-fuzzy

reason'candidate_found' | 'element_missing' | 'ambiguous_match' | 'ancestor_missing' | 'no_candidate' nullable

Diagnostic reason for the result

detailsstring[] nullable

Human-readable diagnostics describing attempted healing strategies

Changes

No recorded changes to this operation across all 1 revision of this API.