OpenQA.Selenium.FrameSwitchingTest.ShouldEnsureElementIsAFrameBeforeSwitching C# (CSharp) Méthode

ShouldEnsureElementIsAFrameBeforeSwitching() private méthode

private ShouldEnsureElementIsAFrameBeforeSwitching ( ) : void
Résultat void
        public void ShouldEnsureElementIsAFrameBeforeSwitching()
        {
            driver.Url = framesetPage;
            IWebElement frame = driver.FindElement(By.TagName("frameset"));
            driver.SwitchTo().Frame(frame);
        }
FrameSwitchingTest