Visual Analysis mode Result Selection Strategy

Visual analysis now supports a resultSelectionStrategy property that controls how elements are selected when multiple potential matches are found. The available strategies are:

  • auto (default) - Let the Airtop decide the best strategy.
  • first - Select the first matching element found
  • bestMatch - Select the element with the highest confidence score. Additional LLM credits will be used on this strategy.

This gives you more control over which element is selected when there are multiple potential matches on the page.

Check out the visual analysis config for more details.