public void ShouldBeAbleToNavigateBackInTheBrowserHistoryInPresenceOfIframes()
{
driver.Url = xhtmlTestPage;
driver.FindElement(By.Name("sameWindow")).Click();
//TODO (jimevan): this is an ugly sleep. Remove when implicit waiting is implemented.
System.Threading.Thread.Sleep(500);
Assert.AreEqual(driver.Title, "This page has iframes");
driver.Navigate().Back();
//TODO (jimevan): this is an ugly sleep. Remove when implicit waiting is implemented.
System.Threading.Thread.Sleep(500);
Assert.AreEqual(driver.Title, "XHTML Test Page");
}