Added HasAttribute extension method on IWebElement