using Microsoft.Playwright; namespace Tests.PageObjects; public class DeckDetailPage : BasePage { public DeckDetailPage(IPage page) : base(page) { } public ILocator ManaCurve => Page.Locator(".mana-curve"); public ILocator ManaBars => Page.Locator(".mana-bar"); public ILocator ManaBarLabels => Page.Locator(".mana-bar-label"); public ILocator ManaCosts => Page.Locator(".mana-cost"); public async Task GetManaBarCountAsync() => await ManaBars.CountAsync(); }