Skip to content

setValue() doesn't clear input before setting new value #1140

@ghost

Description

In my test case I have a step where new value is set to a non empty input (with type number). According to webdriverIO API, the setValue method should clear an input at first and then should type a new value. But in my case, setValue appends new value to existing one.

I'm using webdriverIO 3.4.0 with Selenium standalone server 2.52.0 and Firefox 44.0.2. The forms in my application under test are created with React.js library.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions