Closed konqi closed 6 years ago
@jdanyow Can you review this?
I'm all for this PR although suspect it may be a breaking change?
Docs will need updating too:
I think the docs should be fine - if anything you can do more now. This should also not be a breaking change - it's hard to tell though with so few tests, which is the reason I added some more tests as well.
Going to close this PR for now, since we've had some pretty big changes in the core library. If this feature remains still interesting to anyone, please submit a new PR based on master. Also, please try to avoid breaking changes if possible.
In my tests i wanted to supply a custom condition for waitFor. I modified the waitFor so it can handle all kinds of conditions and moved the specifics for query selectors to the respective waitFor functions.