Skip to content

Missing method handling. #239

@geb-bot

Description

@geb-bot

Originally created by marko.m.

Please consider changing the behavior of empty-param missing method handling.

The expected behavior would be a missing method exception, but instead it surprisingly returns an empty element set.

Mailing list discussion:
http://goo.gl/j59Pq

Sample code:

class HomePage extends Page {
    static url = "http://google.com/"
}


Browser.drive(driver:new ChromeDriver()) {
    to HomePage

    // expecting to execute HomePage.foobar(), 
    // but instead is silently ignored?!?
    foobar()  
}.quit()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions