What's the stacktrace of the exception?

On Mon, Aug 24, 2020 at 7:22 PM Ben Frey <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/geb-user/a53ed071-5bf9-4ae3-8fc0-1bc6cad4c06bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CA%2B52dQRCT4B4HeDHtej2CZsv8qK-KqkvHioWbcSs%3DvXtXx6yqQ%40mail.gmail.com.

Reply via email to