'Search and wait for ajax.'

def search(self, string):

    self.q(css=(self.form + '    input[type="text"]')).fill(string)
    self.q(css=(self.form + '    [type="submit"]')).click()
    self.wait_for_ajax()
