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

"change" is fired twice #285

Closed
hchonov opened this issue Jun 15, 2018 · 0 comments
Closed

"change" is fired twice #285

hchonov opened this issue Jun 15, 2018 · 0 comments

Comments

@hchonov
Copy link
Contributor

hchonov commented Jun 15, 2018

I am testing with chrome version 67.0.3396.87, ChromeDriver 2.37.544337 and Selenium 2.31.0.

One of my tests is failing because of the "change" event being fired twice for an <input type="text"> element.

I've found that this happens because of the additional call $this->trigger($xpath, 'change'); added to \Behat\Mink\Driver\Selenium2Driver::setValue() in #244 .

I have a lot of tests and they all seem to pass when I simply remove the additional triggering of the "change" event.

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

1 participant