3 Matching Annotations
- Apr 2021
-
stackoverflow.com stackoverflow.com
-
fill_in('Foo', with: 'bar', fill_options: { clear: :backspace })
first sighting: fill_options: { clear: :backspace })
first sighting: fill_options as an option at all (for
fill_in
only, I presume)I wonder they added at all as a response to this:
See also: https://hyp.is/ZcXVJJMyEeucgmPXYFP9yg/github.com/teamcapybara/capybara/issues/203
(which key should have been pressed, backspace, space?)
-
-
github.com github.com
-
It might be possible to fix it in Capybara, but I'm afraid that we'd just add more unexpected, ambiguous behaviour (which key should have been pressed, backspace, space?).
-
find_field('Prefix').send_keys([:control, "a"], :backspace)
-