Closed vankeisb closed 9 years ago
We could have (even more) compact Findr code when using Groovy via :
Closures should be allowed everywhere a Predicate or Function is passed (where and eval basically).
f.where { WebElement e -> ... } .eval { WebElement e -> ... }
Operators could be combined in order to create more compact Findr chains, with less boilerplate.
Findr f = ... Findr f2 = f + isDisplayed() + { e -> ... } ListFindr lf = ... ListFindr lf2 = lf + isDisplayed() + { e -> ... }
And many more. The idea is to allow to express and eval Findrs clearly and concisely.
enough at the moment, will probably need refinement later.
We could have (even more) compact Findr code when using Groovy via :
Closures should be allowed everywhere a Predicate or Function is passed (where and eval basically).
Operators could be combined in order to create more compact Findr chains, with less boilerplate.
And many more. The idea is to allow to express and eval Findrs clearly and concisely.