Skip to content

Problem with Onchange solved #63

@ghost

Description

I open this issue as a reminder, that sometimes a problem with onchange files can appear when selenium clear the element text before write the new text on the field. This can sometimes call the function onchange with an empty value.

This can be solve editing the selenium2library, if we are using it, or the ExtendedSelenium2Library, if this is the one we are using.

I copy an example of the change for selenium2library to void this annoying behaviour:
https://github.com/brain-tec/Selenium2Library/blob/0cc8aa456825de8fbac70763edd25c51050a9771/src/Selenium2Library/keywords/_formelement.py#L364

brain-tec/selenium2library@0cc8aa4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions