def METHOD_NAME(self, page_num):
    # The each link is page # + 2, due to the "first" and "previous" links
    page_num = page_num + 2
    self.wait_until_present('.pagination li:nth-child(%s).active'
                            % page_num)