nextPageLinkIsWorking = false;
}
}
//If we can move back a page
if (gridPager.canPagePrevious()){
//move back to the first page
gridPager.previousPage(gridPage);
//wait to go back to page 1
waitForText("/html/body/div[3]/div/div/div[2]", 5, "0 - 5");
//wait for the rows of the grid to load after changing page