public CuratedContentPageObject clickOnMainPageLink() { wait.forElementVisible(linkToMainPage); jsActions.scrollToElement(linkToMainPage); linkToMainPage.click(); return this; }
public CuratedContentPageObject clickOnLoadMoreButton() { wait.forElementVisible(loadMoreButton); jsActions.scrollToElement(loadMoreButton); loadMoreButton.click(); return this; }
public CuratedContentPageObject clickOnCuratedContentElementByIndex(int elementNumber) { wait.forElementVisible(curatedContentItems.get(elementNumber)); jsActions.scrollToElement(curatedContentItems.get(elementNumber)); curatedContentItems.get(elementNumber).click(); return this; }