Exemplo n.º 1
0
        public AddressesTests()
        {
            var geckoService = FirefoxDriverService.CreateDefaultService(Environment.CurrentDirectory);

            geckoService.Host = "::1";
            var firefoxOptions = new FirefoxOptions
            {
                AcceptInsecureCertificates = true
            };

            _driver      = new FirefoxDriver(geckoService, firefoxOptions);
            _page        = new AddressPage(_driver, "Settings/Addresses/Add");
            _loginHelper = new LoginHelper(_driver);

            _page.Navigate();
        }