public Page CreateCustomer(string name, string vat)
 {
     Name.SendKeys(name);
     VATNumber.SendKeys(vat);
     SubmitBtn.Click();
     if (driver.Title == "")
         return this;
     var page = new CustomerListPage(driver);
     return page;
 }
Exemple #2
0
        public Page CreateCustomer(string name, string vat)
        {
            Name.SendKeys(name);
            VATNumber.SendKeys(vat);
            SubmitBtn.Click();
            if (driver.Title == "")
            {
                return(this);
            }
            var page = new CustomerListPage(driver);

            return(page);
        }