'Searches for the specified string, and returns a SearchTeamsPage
representing the search results page.'

def search(self, string):

    self.q(css='.search-field').first.fill(string)
    self.q(css='.action-search').first.click()
    self.wait_for_ajax()
    self.wait_for((lambda : self._showing_search_results), description='Showing    search    results')
    page = SearchTeamsPage(self.browser, self.course_id, self.topic)
    page.wait_for_page()
    return page
