def gen_find_method(ele_type, multiple=True, extra_maps=None):
    """
    将 ele_type 转换成对应的元素查找方法
    e.g::

        make_elt(ele_type=name, False) => find_element_by_name
        make_elt(ele_type=name, True) => find_elements_by_name

    :param ele_type:
    :type ele_type:
    :param multiple:
    :type multiple:
    :param extra_maps:
    :type extra_maps:
    :return:
    """
    _ = 'elements' if multiple else 'element'
    d = {
        'class': 'class_name'
    }
    if isinstance(extra_maps, dict):
        d = dict(d, **extra_maps)
    return 'find_{}_by_{}'.format(_, d.get(ele_type, ele_type))