private ShouldAllowAUserToSwitchFromAnIframeBackToTheMainContentOfThePage ( ) : void | ||
return | void |
public void ShouldAllowAUserToSwitchFromAnIframeBackToTheMainContentOfThePage()
{
driver.Url = iframePage;
driver.SwitchTo().Frame(0);
driver.SwitchTo().DefaultContent();
driver.FindElement(By.Id("iframe_page_heading"));
}