def object_enabled_for(key)
      web_element = send(key.to_s.tr(' ', '_'))
      web_element.enabled? && web_element.visible?
    end
def object_enabled_for(key)
      web_element = send(key.to_s.tr(' ', '_'))
      web_element.enabled? && web_element.visible?
    end
This is a sanity check method to make sure that whatever element is
 being used as part of the data setting, it exists in the DOM, is
 visible (meaning, display is not 'none'), and is capable of accepting
 input, thus being enabled.