We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is similar to the issue at #810
I am unable to clear the input field when putting an empty string or falsy value inside the type or insert method, although the documentation says
.type(selector[, text]) Enters the text provided into the selector element. Empty or falsey values provided for text will clear the selector's value.
The text was updated successfully, but these errors were encountered:
This works:
nightmare .goto('http://google.com') .type('[name=q]','hi') .wait(1000) .type('[name=q]','') .wait(1000) .end() .then((result) => { console.log(result); })
Sorry, something went wrong.
okay, seems like it's a problem with the site I'm trying to automate. it works fine with other sites
No branches or pull requests
This is similar to the issue at #810
I am unable to clear the input field when putting an empty string or falsy value inside the type or insert method, although the documentation says
The text was updated successfully, but these errors were encountered: