Skip to content

"change" is fired twice #285

@hchonov

Description

@hchonov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions