Source:Weird JUnit logging behavior
class WEBElment
{
public IWebElement Element;
public WEBElement(/*send whatever you decide, a webelement, a by element, a locator whatever*/)
{
Element = /*make the element from what you sent your self*/
}
public bool IsDisplayed()
{
return Element.Displayed;
}
} // end of class here