public void FindElementByName() { driver.Url = nestedPage; IWebElement element = driver.FindElement(By.Name("form2")); IWebElement child = element.FindElement(By.Name("selectomatic")); Assert.AreEqual(child.GetAttribute("id"), "2"); }