OpenQA.Selenium.ElementFindingTest.ShouldThrowAnExceptionWhenThereIsNoLinkToClickAndItIsFoundWithLinkText C# (CSharp) Method

ShouldThrowAnExceptionWhenThereIsNoLinkToClickAndItIsFoundWithLinkText() private method

        public void ShouldThrowAnExceptionWhenThereIsNoLinkToClickAndItIsFoundWithLinkText()
        {
            driver.Url = xhtmlTestPage;

            driver.FindElement(By.LinkText("Not here either"));
        }
ElementFindingTest