public PaymentTests() { var geckoService = FirefoxDriverService.CreateDefaultService(Environment.CurrentDirectory); geckoService.Host = "::1"; var firefoxOptions = new FirefoxOptions { AcceptInsecureCertificates = true }; _driver = new FirefoxDriver(geckoService, firefoxOptions); _page = new PaymentPage(_driver, "/Settings/Payment"); _loginHelper = new LoginHelper(_driver); _page.Navigate(); }
public void GivenARegisteredUserNavigateTo(string url) { paymentPage.Navigate(url); }