'Reload the page.'

def refresh_page(self, wait_for_confirmation=True):

    self.browser.refresh()
    if wait_for_confirmation:
        EmptyPromise((lambda : self.q(css=u'body.view-settings').present), u'Page    is    refreshed').fulfill()
    self.wait_for_require_js()
    self.wait_for_ajax()
