Beispiel #1
0
        public void t2()
        {
            var driver = MyDriver.InitDriver(Browser.Chrome);

            driver.Url = "https://claim.skycop.com/";
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5);

            var depaturElement = driver.FindElement(By.CssSelector("#airport-departure input"));

            // depaturElement.Click();
            depaturElement.SendKeys("Vilnius");
            driver.FindElement(By.CssSelector(".Select-option.is-focused")).Click();
        }
Beispiel #2
0
 public void InitDriver()
 {
     Driver     = MyDriver.InitDriver(Browser.Chrome);
     Driver.Url = "https://s2.demo.opensourcecms.com/orangehrm/symfony/web/index.php/auth/login";
     InitPages();
 }