You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fill_in with empty string does not call addEventListener('input') #238
I'm testing cuprite to replace chromedriver in our test suite and I've noticed a weird behaviour using fill_in :element, with: ''.
When doing this in an input text it does not fire the event input.
Fixed in #336 (same bug as #164): clearing a non-empty text field with fill_in "field", with: "" now dispatches an input event (inputType: "deleteContentBackward") before change. It will ship in the next release; until then you can use main.
Activity
tomekchime commentedon Feb 21, 2024
I appear to be seeing the same behavior here on my end
route commentedon Oct 15, 2026
Fixed in #336 (same bug as #164): clearing a non-empty text field with
fill_in "field", with: ""now dispatches aninputevent (inputType: "deleteContentBackward") beforechange. It will ship in the next release; until then you can usemain.