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
Can't retrieve value set by jquery from textfield #1546
Comments
I suspect that this is a client issue, where Nightwatch is using using the Get Element Attribute command to get the attribute instead of the property. To confirm, could you please attach a trace-level log from geckodriver? |
Thanks for this, here you go
|
Thanks, that confirms my earlier suspicion:
This in effect means that there’s a bug with Nightwatch’s API for this:
Instead of calling Would you mind filing an issue against Nightwatch? |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
System
Expected behaviour
I am setting a textfield value in jQuery by clicking a link, and then trying to retrieve the new-value in a test. The code works as per the below simplified test, and when I turn on screenshots in the geckodriver, the screenshots show the textfield with the new-value. Despite this it won't retrieve the new-value, it will always return the old-value the field contained before updating it from a click.
I would expect the below test to pass, as it does in the chrome driver in the first run here.
Testcase
test.html
test-test.js
The text was updated successfully, but these errors were encountered: