}
//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
waitForChildren("table", "tbody/tr[5]", 5);
} else {