package com.clanstop.healing.locator;

import org.openqa.selenium.WebElement;

/**
 * The outcome of a successful heal: the recovered element plus how it was found,
 * for auditing in {@code heal_event}.
 */
public record HealResult(
        WebElement element,
        String byType,
        String byValue,
        double score,
        String strategy,       // HISTORY / FINGERPRINT / DOM_SCAN
        String changes,        // human-readable diff of what changed on the element
        String screenshotPath, // page at heal time (highlighted), or null
        long elapsedMs
) {}
