Go back Rspec, Rails test & Capybar...

find element


find('[data-turbo-frame="menu"]').click


find_all("input").first.fill_in with: "tomas"


<input data-order="0001">
<input data-order="0002">

find_all("input")
  .sort_by { |input_node| input_node["data-order"].to_i }
  .last
  .fill_in with: "Nikola"


page.has_selector?("h2", text: "Ready to send", wait: 1)