Added 1-second wait to SearchPage.clickPageButton(). Don't know what component to wait on. Adding the pause seems to keep the dom from disappearing.