protected EntityInfoProxy EntityInfoInternal(int?index) { var element = index == null ? Element : this.Element.FindElements(By.CssSelector("[data-entity]")).ElementAt(index.Value); return(EntityInfoProxy.Parse(element.GetAttribute("data-entity"))); }
public EntityInfoProxy EntityInfo() { var attr = MainControl.Find().GetAttribute("data-main-entity"); return(EntityInfoProxy.Parse(attr)); }
protected EntityInfoProxy?EntityInfoInternal(int?index) => EntityInfoProxy.Parse(EntityInfoString(index));
public EntityInfoProxy EntityInfo() { return(EntityInfoProxy.Parse(this.Element.FindElement(By.CssSelector("div.sf-main-control")).GetAttribute("data-main-entity")) !); }