using BomLocalService.Models; using BomLocalService.Services.Interfaces.Registration; using Microsoft.Playwright; namespace BomLocalService.Services.Interfaces; /// /// Service for finding page elements using configured selectors /// public interface ISelectorService : ISingletonService { /// /// Finds an element using the configured selectors, trying each in order until one is found /// Task FindElementAsync(IPage page, SelectorConfig config, CancellationToken cancellationToken = default); /// /// Gets a locator for the first selector (assumes element exists) /// ILocator GetLocator(IPage page, SelectorConfig config); }