I'm facing problems when interacting with dynamic pages i.e. it's static content becomes invalid after time. Normally, I save the page object when going to the page for the first time:
to StartPage
def startPage = at StartPage
When accessing the page object at later time the static content might became invalid. I guess that Geb is building the page's DOM tree when I'm going to the page for the first time. Am I right?!
How can I trigger a refresh of the DOM tree so that the static content will be overwritten?