private ShouldThrowAnExceptionWhenThereIsNoLinkToClickAndItIsFoundWithLinkText ( ) : void | ||
return | void |
public void ShouldThrowAnExceptionWhenThereIsNoLinkToClickAndItIsFoundWithLinkText()
{
driver.Url = xhtmlTestPage;
driver.FindElement(By.LinkText("Not here either"));
}