private ShouldThrowExceptionOnNonExistingElement ( ) : void | ||
return | void |
public void ShouldThrowExceptionOnNonExistingElement()
{
driver.Url = simpleTestPage;
driver.FindElement(By.Id("doesnotexist"));
}