public static MimeType GetMimeType(this IWebElement element) { return MimeType.MimeTypeByFileName(element.Href()); }