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

Would like to more fluent condition waits #4

Open
MikeAScott opened this issue Nov 11, 2016 · 1 comment
Open

Would like to more fluent condition waits #4

MikeAScott opened this issue Nov 11, 2016 · 1 comment

Comments

@MikeAScott
Copy link

In previous discussion of condition handling it was mentioned that currently condition checking does not allow timeouts to be set.

  1. It would be great to have this feature. So we can do:
    'element.is(displayed, new TimeoutSeconds(0));'
  2. It would be nicer to do this in a more fluent way e.g:
    'element.is( displayed, within(5).seconds ); // -> boolean '
    or
    'element.is( displayed, currently ); // -> boolean, i.e. No waiting'

Happy to help implement this if you feel it is a good idea.

@mplord
Copy link

mplord commented Mar 2, 2017

@davebassan any comment on this? It would be better to be more fluent about negative conditions and zero timeouts. Either way we need to get some closure on this.

@MikeAScott have you had a go at implementing this?

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

2 participants