public void TestActions() { //NavigationHelper.NavigationToURL("localhost:5001/enter_bug.cgi"); ButtonHelper.ClickOnButton(By.LinkText("Open a New Account")); BrowserHelper.GoBack(); BrowserHelper.GoForward(); BrowserHelper.RefreshPage(); }
public void TestAction() { NavigationHelper.NavigateToUrl("https://google.com"); //ObjectRepository.Driver.Manage().Window.Maximize(); //ObjectRepository.Driver.Navigate().Forward(); //ObjectRepository.Driver.Navigate().Back(); //ObjectRepository.Driver.Navigate().Refresh(); BrowserHelper.GoBack(); BrowserHelper.GoForward(); BrowserHelper.GoRefresh(); }