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();
        }
Exemple #2
0
 public void GivenARegisteredUserNavigateTo(string url)
 {
     paymentPage.Navigate(url);
 }