namespace BomLocalService.Models;
///
/// Configuration for a single selector with multiple fallback options
///
public class SelectorConfig
{
///
/// Human-readable name for this selector (for logging/debugging)
///
public string Name { get; set; } = string.Empty;
///
/// Array of CSS selectors to try in order (first match wins)
///
public string[] Selectors { get; set; } = Array.Empty();
///
/// Timeout in milliseconds when waiting for this element
///
public int TimeoutMs { get; set; } = 5000;
///
/// Whether this element is required (throws if not found)
///
public bool Required { get; set; } = true;
///
/// Custom error message if element is not found (when Required=true)
///
public string? ErrorMessage { get; set; }
}