groovy.lang.MissingPropertyException: Unable to resolve browser as content for com.qa.module.TestModule @715408d9, or as a property on its Navigator context. Is browser a class you forgot to import?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Manoj Joshi, 1 year ago
Unable to resolve browser as content for com.qa.module.TestModule @715408d9, or as a property on its Navigator context. Is browser a class you forgot to import?
groovy.lang.MissingPropertyException: Unable to resolve browser as content for com.qa.module.TestModule @715408d9, or as a property on its Navigator context. Is browser a class you forgot to import?
at geb.content.PageContentSupport.propertyMissing(PageContentSupport.groovy:45)
at geb.Module.propertyMissing(Module.groovy:101)
at com.qa.module.TestModule.getViewport(TestModule.groovy:323)
at geb.content.TemplateDerivedPageContent.methodMissing(TemplateDerivedPageContent.groovy:128)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.