@world.absorb
def set_field_value(index, value):
 elem = world.css_find('div.wrapper-comp-setting input')[index]
 elem.value = value
 elem.type(Keys.TAB)

@ world . absorb def set_field_value ( index , value ) : elem = world . css_find ( 'div.wrapper-comp-setting input' ) [ index ] elem . value = value elem . type ( Keys . TAB )
set the field to the specified value .