Currently all Navigator instances, including Modules, returned from the content DSL are wrapped in TemplateDerivedPageContent which enables better error reporting when required content is not found. This is problematic when strongly typing your Geb related code.
Modules returned from content DSL should be unwrappable using the Groovy as operator.
Currently all
Navigatorinstances, includingModules, returned from the content DSL are wrapped inTemplateDerivedPageContentwhich enables better error reporting when required content is not found. This is problematic when strongly typing your Geb related code.Modules returned from content DSL should be unwrappable using the Groovy
asoperator.