'Verify that the browser is on the page and it is not still loading.'

def is_browser_on_page(self):

    EmptyPromise((lambda : self.q(css='body.view-certificates').present), 'On    the    certificates    page').fulfill()
    EmptyPromise((lambda : (not self.q(css='span.spin').visible)), 'Certificates    are    finished    loading').fulfill()
    return True
