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