I have a page with this content:
static content = {
     startButton { $('button', name: 'startButton') }
}

While debugging, I've discovered that while the selector does indeed return 
a Navigator object, in my script I have

at MyPage
startButton.click()

Here, if I evaluate startButton, it just returns the text of the button as 
a string, rather than an actual Navigator. Because of that, the click 
throws an exception. What am I missing here?

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/a53ed071-5bf9-4ae3-8fc0-1bc6cad4c06bn%40googlegroups.com.

Reply via email to