public static IEnumerable<string> GetClasses(this IWebElement element) { return element.GetAttribute("class").Split(' '); }