public void hideAnnotationsPane()
{
getDriver().findElement(By.xpath("//div[@id='tmMoreActions']/button[contains(@class, 'dropdown-toggle')]")).
click();
WebElement annotationsPane = getDriver().findElement(
<BUG>By.xpath("//div[@id='tmMoreActions]//a[contains(., 'Annotations')]"));
</BUG>
annotationsPane.click();
waitUntilElementDisappears(By.className("annotationsettings"));
}

public void hideAnnotationsPane()
{
getDriver().findElement(By.xpath("//div[@id='tmMoreActions']/button[contains(@class, 'dropdown-toggle')]")).
click();
WebElement annotationsPane = getDriver().findElement(
By.xpath("//div[@id='tmMoreActions']//a[contains(., 'Annotations')]"));
annotationsPane.click();
waitUntilElementDisappears(By.className("annotationsettings"));
}
