@Test(expected = WidgetException.class)
  public void testWaitForNotVisibleException() throws WidgetException {
    wd.open(url);

    IElement element = new Element(getButton("visibilityTest"));
    element.waitForNotVisible();
  }
  @Test
  public void testWaitForNotVisible() throws WidgetException {
    wd.open(url);

    IInteractiveElement clickButton = new Button(getButton("nonVisibilityTest"));
    IElement element = new Element(getButton("visibilityTest"));

    clickButton.click();
    element.waitForNotVisible();
  }