Exemplo n.º 1
0
 public void GivenIAmOnAmazonWebsite()
 {
     _driver = new ChromeDriver();
     _driver.Manage().Window.Maximize();
     _locatorPage = Pages.Locators.NavigateToAmazon(_driver);
     _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
 }
Exemplo n.º 2
0
        public void GivenIAmOnEbayWebsite()
        {
            _driver.Dispose();
            //_locatorPage.OpenNewTab();

            _driver = new ChromeDriver();
            _driver.Manage().Window.Maximize();
            _locatorPage = Pages.Locators.NavigateToEbay(_driver);
            _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
        }