public void ShouldBeAbleToFindAnElementByCssSelector()
{
driver.Url = nestedPage;
if (!SupportsSelectorApi())
{
Assert.Ignore("Skipping test: selector API not supported");
}
IWebElement parent = driver.FindElement(By.Name("form2"));
IWebElement element = parent.FindElement(By.CssSelector("*[name=\"selectomatic\"]"));
Assert.AreEqual("2", element.GetAttribute("id"));
}