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

Problem with Onchange solved #63

Open
ghost opened this issue Oct 4, 2017 · 0 comments
Open

Problem with Onchange solved #63

ghost opened this issue Oct 4, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2017

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

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

0 participants