def wait_for_page_to_load(self):
        self.wait.until(lambda s: self.canonical_url in s.current_url)
        return self
dataset/ETHPy150Open mozilla/kitsune/tests/pages/page.py/Page.wait_for_page_to_load/original