OpenQA.Selenium.ClickScrollingTest.ShouldScrollOverflowElementsIfClickPointIsOutOfViewButElementIsInView C# (CSharp) Method

ShouldScrollOverflowElementsIfClickPointIsOutOfViewButElementIsInView() private method

        public void ShouldScrollOverflowElementsIfClickPointIsOutOfViewButElementIsInView()
        {
            driver.Url = EnvironmentManager.Instance.UrlBuilder.WhereIs("scroll5.html");
            driver.FindElement(By.Id("inner")).Click();
            Assert.AreEqual("clicked", driver.FindElement(By.Id("clicked")).Text);
        }