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

Add RefreshPageUntil method to PageObject<TOwner> #242

Closed
YevgeniyShunevych opened this issue Feb 24, 2019 · 0 comments

Comments

1 participant
@YevgeniyShunevych
Copy link
Member

commented Feb 24, 2019

Add method to PageObject<TOwner>:

public TOwner RefreshPageUntil(Expression<Func<TOwner, bool>> predicateExpression, double? timeout = null, double? retryInterval = null);

Refreshes the current page until the condition specified by predicateExpression argument is met.

Usage

Go.To<SomePage>().
    RefreshPageUntil(x => x.SomeControl.IsVisible, timeout: 60, retryInterval: 5);

@YevgeniyShunevych YevgeniyShunevych added this to the 1.1.0 milestone Feb 24, 2019

@YevgeniyShunevych YevgeniyShunevych self-assigned this Feb 24, 2019

YevgeniyShunevych added a commit that referenced this issue Feb 24, 2019

#242 Add RefreshPageUntil method to PageObject<TOwner>; Add tests: Pa…
…geObject_RefreshPageUntil and PageObject_RefreshPageUntil_Timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.