OpenQA.Selenium.FrameSwitchingTest.ShouldEnsureElementIsAFrameBeforeSwitching C# (CSharp) Method

ShouldEnsureElementIsAFrameBeforeSwitching() private method

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