OpenQA.Selenium.FrameSwitchingTest.ShouldBeAbleToSwitchToAFrameByItsID C# (CSharp) Метод

ShouldBeAbleToSwitchToAFrameByItsID() приватный Метод

private ShouldBeAbleToSwitchToAFrameByItsID ( ) : void
Результат void
        public void ShouldBeAbleToSwitchToAFrameByItsID()
        {
            driver.Url = framesetPage;
            driver.SwitchTo().Frame("fifth");
            Assert.AreEqual("Open new window", driver.FindElement(By.Name("windowOne")).Text);
        }
FrameSwitchingTest