I'm using Cuke4Duke to run my Cucumber tests. I'开发者_如何学Cm using Geb (Geb Manual) to control the browser.
Does anyone know how to configure Cucumber/Geb so that the $ function (Geb $ Function) is available to Cucumber tests?
browser.$() seems to work fine. would be nice not to have to type browser though.
精彩评论