text: class Dialog {
    /**
     * Define Elements
     */
    get appBtn() {return $("~App");}
    get alertDialogBtn() {return $('//android.widget.TextView[@content-desc="Alert Dialogs"]');}
    get textEntryDialogBtn() {return $('//android.widget.Button[@content-desc="Text Entry dialog"]');}
    get userNameField() {return $('//android.widget.EditText[@resource-id="io.appium.android.apis:id/username_edit"]');}
    get passwordField() {return $('//android.widget.EditText[@resource-id="io.appium.android.apis:id/password_edit"]');}
  
    get dialogOkBtn() {return $('//android.widget.Button[@resource-id="android:id/button1"]');}
    get dialogCancelBtn() {return $('//android.widget.Button[@resource-id="android:id/button2"]');}
  
    get viewBtn() {return $('//android.widget.TextView[@content-desc="Views"]')};
    get tabsBtn() {return $('//android.widget.TextView[@content-desc="Tabs"]')};
    get contentByIdBtn() {return $('//android.widget.TextView[@content-desc="1. Content By Id"]')};
  
    get tabs() {return $$('android.widget.LinearLayout')};
    get tab1Details() {return $('~tab1')};
    get tab2Details() {return $('~tab2')};
    get tab3Details() {return $('~tab3')};
  
    get repeatAlarmBtn() {return $('//android.widget.Button[@content-desc="Repeat alarm"]')};
  
    // #region Activity
      get cancelDialogMsgBtn() { return $('//android.widget.Button[@content-desc="OK Cancel dialog with a message"]'); }
      get cancelLongDialogMsgBtn() { return $('//android.widget.Button[@content-desc="OK Cancel dialog with a long message"]'); }
      get cancelUltraLongDialogMsgBtn() { return $('//android.widget.Button[@content-desc="OK Cancel dialog with ultra long message"]'); }
      get dialogModalTitle() { return $('//android.widget.TextView[@resource-id="android:id/alertTitle"]'); }
      get dialogModalMsg() { return $('//android.widget.TextView[@resource-id="android:id/message"]'); }
    // #endregion
    
  
    _weekdayCheckbox(index){
      return $(`//android.widget.CheckedTextView[@index="${index}"]`);
    }
  
    // #region Activity
    getDialogModalTitle() {
      let title = this.dialogModalTitle.getText();
      return title;
    }
  
    getDialogModalMsg() {
      let msg = this.dialogModalMsg.getText();
      return msg;
    }
    // #endregion
  }
  module.exports = new Dialog();
  