public void NavigateToWebPage(string websiteUrl) { //Navigates to the URl and maximises the browser _seleniumInstance.GetDriver.Navigate().GoToUrl(websiteUrl); _seleniumInstance.GetDriver.Manage().Window.Maximize(); //validates that the correct page is displayed _seleniumInstance.CheckElementIsPresent(WebTablePage.table, _currentTest); Core.ExtentReport.StepPassedWithScreenShot(_currentTest, _seleniumInstance.GetDriver, "Successfully navigated to '" + websiteUrl + "'."); }