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
Wouldn't it be nice if instead of 4 lines to test for and act upon element existence/visibility:
.visible '#foo' .then (a) -> if a # do something
...one would only need 2:
.if_visible '#foo', () -> # do something
The text was updated successfully, but these errors were encountered:
Add .if_exists()/.if_visible() (implements johntitus#266)
35fdf34
Or, same in javascript:
.visible('#foo') .then(function(a) { if (a) { ...
vs.
.if_visible('#foo', function() { ...
Sorry, something went wrong.
No branches or pull requests
Wouldn't it be nice if instead of 4 lines to test for and act upon element existence/visibility:
...one would only need 2:
The text was updated successfully, but these errors were encountered: