public void TestSwitchingBetweenIframe() { Wd.Get(TestPage.OkButton).PerformClick(); Wd.SwitchIframe(TestPage.WikiPeadiaIFrame); var textInsideIframe = Wd.Get(TestPage.DivInsideiFrame).Text; Assert.AreEqual("This is insed the iFrame", textInsideIframe); Wd.SwitchBackToMainContent(); Wd.Get(TestPage.OkButton).PerformClick(); }