Exemplo n.º 1
0
        public ImportantPage()
        {
            //Driver.DriverInstance.Navigate().GoToUrl(MAIL_IMP);
            //Search = new TextBox();
            //Search.by = (By.XPath("//h2[text()='Search']/../descendant::input"));
            Search.ClearAndType("is:important");

            //Search.by = (By.XPath("//h2[text()='Search']/../descendant::input"));
            //ButtonSearch = new Button();
            //ButtonSearch.by = (By.XPath("//button[@aria-label='Search Gmail']"));
            ButtonSearch.Click();

            //ButtonDelete = new Button();
            //ButtonDelete.by = (By.XPath("//div[text()='Delete forever']"));
        }
 public AccommodationPage StepClickOnSearch()
 {
     ButtonSearch.Click();
     return(this);
 }
Exemplo n.º 3
0
 public MainPage OpenMoreInfoFields()
 {
     ButtonSearch.Click();
     return(this);
 }
 public AirportTaxisPage StepClickOnSearch()
 {
     ButtonSearch.Click();
     Thread.Sleep(15000);
     return(this);
 }