'Set settings input `field` with `value`
Arguments:
field_name (str): Name of field
field_value (str): Name of value
field_type (str): `input`, `select` etc(more to be added later)'

def set_field_value(self, field_name, field_value, field_type='input'):

    query = '.wrapper-comp-setting    >    label:nth-child(1)'
    field_id = ''
    if (field_type == 'input'):
        for (index, _) in enumerate(self.q(css=query)):
            if (field_name in self.q(css=query).nth(index).text[0]):
                field_id = self.q(css=query).nth(index).attrs('for')[0]
                break
        self.q(css='#{}'.format(field_id)).fill(field_value)
    elif (field_type == 'select'):
        self.q(css='select[name="{0}"]    option[value="{1}"]'.format(field_name, field_value)).first.click()
