public class HomepageTests
{
private IWebDriver _driver;
[SetUp]
public void LoadDriver()
{
_driver = new ChromeDriver();
}
[Test]
public void Valid_Home_Page_Title()
{
_driver.Navigate().GoToUrl("Your homeoage url / local or remote");
StringAssert.Contains("Expected title of your page", _driver.Title);
}
[TearDown]
public void UnloadDriver()
{
_driver.Quit();
}
}