Hello and thanks for Capybara!
I am having trouble using the find_field query to match fields by exact label text.
FORM
<label>Word1 Word2 <input /></label>
<label>Word1 <input /></label>
CODE
find_field("Word1")
I want this to match the second input.
Without further options, I get a Capybara::Ambiguous error (makes sense).
With {exact: true}, no element is found.
With {exact_text: true}, I also get the ambiguous match.
What am I doing wrong? Is there some valid combination of options that should work with #find_field?
Regards
Franz