def string_visible_contains(element, value)
      contains = {
        target: value,
        substring: true,
        insensitive: true
      }

      {
        typeArray: [element],
        onlyVisible: true,
        name: contains,
        label: contains,
        value: contains
      }
    end
def string_visible_contains(element, value)
      contains = {
        target: value,
        substring: true,
        insensitive: true
      }

      {
        typeArray: [element],
        onlyVisible: true,
        name: contains,
        label: contains,
        value: contains
      }
    end
@private
 Returns an object that matches the first element that contains value

 example: ele_by_json_visible_contains 'UIATextField', 'sign in'

 @param element [String] the class name for the element
 @param value [String] the value to search for
 @return [String]