def click_breadcrumb_for_page(self, page):
     element = self.wait_for_element(PageLinkLocators.breadcrumb_link(page))
     self.scroll_and_click(element)
 def click_preview_measure_link(self, page):
     element = self.wait_for_element(PageLinkLocators.page_link(page.title))
     self.scroll_and_click(element)
 def click_measure_version_link(self, page):
     link_text = "Version %s - %s" % (page.version,
                                      page.created_at.strftime("%d %B %Y"))
     element = self.wait_for_element(PageLinkLocators.page_link(link_text))
     element.click()
 def click_get_measure(self, measure):
     element = self.wait_for_element(
         PageLinkLocators.page_link(measure.title))
     self.scroll_and_click(element)
 def click_topic_link(self, topic):
     element = self.wait_for_element(PageLinkLocators.page_link(
         topic.title))
     element.click()
 def click_breadcrumb_for_page(self, page):
     element = self.driver.find_element(*PageLinkLocators.breadcrumb_link(page))
     self.scroll_and_click(element)
 def click_preview_measure_link(self, page):
     element = self.driver.find_element(*PageLinkLocators.page_link(page.title))
     self.scroll_and_click(element)
 def click_get_measure(self, measure):
     element = self.driver.find_element(*PageLinkLocators.page_link(measure.title))
     self.scroll_and_click(element)