public T CssValue <T>(IWebElement element, ECssProperty property) { var value = element.GetCssValue(property.StringValue()); return(this.Cast <T>(value)); }
public T ComputedCssValue <T>(IWebElement element, ECssProperty property) { var value = Browser.Js.GetComputedStyle(element, property.StringValue()); return(Cast <T>(value)); }