assertEquals("Scrolled to 1000 px",
notification.findElement(By.tagName("h1")).getText());
// attempt to close the notification
try {
notification.closeNotification();
} catch (StaleElementReferenceException e) {
}
WebElement ui = findElement(By.className("v-ui"));
testBenchElement(ui).scroll(1020);