cuprite
cuprite copied to clipboard
How am I supposed to clear the <input type='text'>?
Since for example this https://stackoverflow.com/a/45323528/322020
.native.clear
throws:
NoMethodError (undefined method `clear' for #<Capybara::Cuprite::Node:0x00007f9ed3d46b28>)
That's for selenium, how about fill_in "field", with: ""
? Anyways whenever you call fill_in
the input should be cleaned and new value set, that's the default behavior.