Exemplo n.º 1
0
 public OverviewSectionParser FindHeader()
 {
     _query.Append($"//span{Xpath.ClassContains("day-card-header")}");
     return(this);
 }
Exemplo n.º 2
0
        public int CountExpiredDays()
        {
            string expiredDayXpath = $"//div{Xpath.ClassContains("day-card-expired")}";

            return(_section.FindElements(By.XPath(expiredDayXpath)).Count);
        }
Exemplo n.º 3
0
 public OverviewSectionParser FindDay(int order)
 {
     _query.Append($"//div{Xpath.ClassContains("days-block-item")}[{order}]");
     return(this);
 }