Step1:Create Unit Test Project With VS:
Step2:Add WebDriver Referene:
Step3:Initial FireFoxWebDriver
Step4:Simulator Search "Selenium in .net" in BaiDu
driver.Navigate().GoToUrl("http://baidu.com");
driver.FindElement(By.Id("wd")).SendKeys("Selenium in .Net");
driver.FindElement(By.Id("su")).Click();
driver.FindElement(By.Id("wd")).SendKeys("Selenium in .Net");
driver.FindElement(By.Id("su")).Click();
Step5:Add geckodriver.exe to directory which app run, and firefox.exe path to Enivironment Path
Step6: Run Unit Test:OK
It's can also use Chrome or Internet Explorer, and the SimpleBrowser seems can test fast and in memory.
https://github.com/SimpleBrowserDotNet/SimpleBrowser.WebDriver