Hi guys,
just a quick question since we came across it today when testing code
that had been converted from dynamic to static Groovy: Is the behavior
that statically compiled Groovy throws a NPE when the iterable to be
iterated over is null (same as Java), while dynamically compiled Groovy
that or:
wait.until(application as Function)
Cheers, Paul.
On Mon, Dec 11, 2017 at 8:46 PM, Mohan Radhakrishnan <
radhakrishnan.mo...@gmail.com> wrote:
> I posted this too soon.
>
> This line
>
> Function application = { wd ->
> wd.findElement(By.name("q"))}
>
> removes
I posted this too soon.
This line
Function application = { wd ->
wd.findElement(By.name("q"))}
removes that error. Hope this is the right way.
Thanks,
Mohan
On 11 December 2017 at 15:06, Mohan Radhakrishnan <
radhakrishnan.mo...@gmail.com> wrote:
> Hi,
>
> When I try to
Hi,
When I try to pass a lambda to a Selenium API call I see this error.
Believe this version of Selenium uses Guava lambdas.
I understand that I need to be explicit and specify whether it is a
Function or a Predicate. But don't know how to do this with groovy.
So here I may have to explicitly
3.0 is still some time away from being feature complete.
On Mon, Dec 11, 2017 at 6:26 PM, Ruben Laguna
wrote:
> I see, thank you very much.
>
> I'll take a look at how to implement the methodMissing support since
> I'm really interested on having this at some point in
I see, thank you very much.
I'll take a look at how to implement the methodMissing support since
I'm really interested on having this at some point in Groovy. Is there
any chance to see this in Groovy 3.0 if you receive a satisfactory
patch? or is too late for 3.0?
Best regards/Rubén
On Fri,