title: Verify element is not displayed
body: <p>I want to check that an element is not displayed. I have written the following code :</p>
  
  <pre><code>public boolean verifyelementNotDisplayed() {
          try
              {
                 if(element("element").isDisplayed())
                     return false;
                     else
                   {
                       logMessage("element not displayed");
                    return true;
                   }
              }
              catch(Exception e)
              {
                  return false;
              }
  
      }
  </code></pre>
  
  <p>But my test fails.</p>