private void TestNavigation(IWebDriver driver, string linkText, string content)
 {
     driver.WaitForElementToAppear(timeout, By.LinkText(linkText)).Click();
     Assert.IsTrue(driver.PageSourceContains(content, timeout));
 }
 private void TestError(IWebDriver driver, string input)
 {
     driver.FindElement(By.Id(number)).Clear();
     driver.FindElement(By.Id(number)).SendKeys(input);
     driver.FindElement(By.CssSelector(submitInput)).Click();
     Assert.IsTrue(driver.PageSourceContains(errorMessage, timeout));
 }