Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlfonsoUceda opened this issue Jun 13, 2023 · 1 comment
Open

Comments

@AlfonsoUceda
Copy link

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.

@tomekchime
Copy link

I appear to be seeing the same behavior here on my end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants