cuprite icon indicating copy to clipboard operation
cuprite copied to clipboard

fill_in with empty string does not call addEventListener('input')

Open AlfonsoUceda opened this issue 1 year ago • 1 comments

Hello!

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.

I have the following JS code:

input.addEventListener('input', (e) => {
  console.log("Hello")
})

Never called when the input is filled with empty string.

AlfonsoUceda avatar Jun 13 '23 10:06 AlfonsoUceda