code: def click_button(self, index_or_name):
          
          _platform_class_dict = {'ios': 'UIAButton',
                                  'android': 'android.widget.Button'}
          if self._is_support_platform(_platform_class_dict):
              class_name = self._get_class(_platform_class_dict)
              self._click_element_by_class_name(class_name, index_or_name)
docs: Click button