New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

at() methods should return the page object on match #217

geb-bot opened this Issue Sep 10, 2012 · 2 comments


None yet
2 participants

geb-bot commented Sep 10, 2012

Originally created by Luke Daley.

This would make it easier for people wanting to use more types:

class SomeGebSpec extends GebSpec {

    def "login"() {
        go ""

        def loginPage = at(LoginPage)
        loginPage.username.value "fred"

This comment has been minimized.

geb-bot commented Sep 18, 2012



This comment has been minimized.

geb-bot commented Sep 18, 2012

Originally posted by Marcin Erdmann.

Resolved in geb/geb@82b1747

Also applied to toAt() and to() methods.

Only updated javadocs for those methods, decided not to put it anywhere in manual as it seems to be a pretty edge case usage.

@geb-bot geb-bot added the Improvement label Apr 12, 2015

@geb-bot geb-bot added this to the 0.9.0 milestone Apr 12, 2015

@geb-bot geb-bot closed this Apr 12, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment