public void Setup() { Initialize(); Driver.Navigate().GoToUrl("http://google.com"); _googleSearchPage = new GoogleSearchPage(Driver); _word = GoogleSearchFactory.Create(); }
public void SeleniumSearch() { //Act _action = GoogleSearchFactory.Create(); _googlePage.ActionsForm(_action); //Assert var actualTitle = Driver.Title; Assert.AreEqual("SeleniumHQ Browser Automation", actualTitle); }