'Switches to a history in the current list of histories'

def switch_history(self, id='', name=''):

    params = dict(operation='switch', id=id)
    self.visit_url('/history/list', params)
    if name:
        self.check_history_for_exact_string(name)
