public void FindElementByLinkText() { driver.Url = nestedPage; IWebElement element = driver.FindElement(By.Name("div1")); IWebElement child = element.FindElement(By.LinkText("hello world")); Assert.AreEqual(child.GetAttribute("name"), "link1"); }