I\'ve already found that when I want to set value to text field, text area or password field, I can use id, name or label as something in fill_in somethin
something
fill_in somethin
This is what worked for me
find_field(id: 'your_hidden_field_id', type: :hidden).set('Field value here')