Beispiel #1
0
        public T CssValue <T>(IWebElement element, ECssProperty property)
        {
            var value = element.GetCssValue(property.StringValue());

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

            return(Cast <T>(value));
        }