20 Oct 2022   rails


Normally you are not able to interact with hidden fields, but you can still change the value with #set:

find("input[type=hidden]", visible: false).set("my cool value")
🍄