OpenQA.Selenium.FrameSwitchingTest.ShouldEnsureElementIsAFrameBeforeSwitching C# (CSharp) 메소드

ShouldEnsureElementIsAFrameBeforeSwitching() 개인적인 메소드

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