public void testMethod() { IWebDriver driver = new FireFox(); driver.Url("https://www.google.com"); IWebElement searchElement = driver.FindElement(By.Name("q")); driver.SendKeys("try method java"); driver.Quit(); }