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

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

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