With WebDriver from Selenium 2.0a2 I am having trouble checking if an element is visible.
WebDriver
WebDriver.findElement returns a WebElement<
WebDriver.findElement
WebElement<
try this
public boolean isPrebuiltTestButtonVisible() { try { if (preBuiltTestButton.isEnabled()) { return true; } else { return false; } } catch (Exception e) { e.printStackTrace(); return false; } }