gwen-interpreter / gwen-web

Web automation engine for Gwen
https://gweninterpreter.org
Apache License 2.0
54 stars 18 forks source link

Gwen intermittently fails to wait for expression defined via javascript predicate #61

Closed Rahul9844 closed 6 years ago

Rahul9844 commented 6 years ago

Intermittently gwen has failed to wait (till timeout) for expressions defined via javascript predicate.

For example : And expression is defined by javascript """ (()=>{ // javascript code goes here.... return "true"; })(); """ And expression should be "true"

It was observed once that gwen failed with below error.

waitfailure

bjuric commented 6 years ago

Please try (function(){ ..})() synax instead.

bjuric commented 6 years ago

@Rahul9844 please close if suggestion above resolves your issue.