public void DocumentShouldReflectLatestDom()
{
driver.Url = javascriptPage;
String currentText = driver.FindElement(By.XPath("//div[@id='dynamo']")).Text;
Assert.AreEqual("What's for dinner?", currentText);
IWebElement element = driver.FindElement(By.LinkText("Update a div"));
element.Click();
String newText = driver.FindElement(By.XPath("//div[@id='dynamo']")).Text;
Assert.AreEqual("Fish and chips!", newText);
}