コード例 #1
0
 public CuratedContentPageObject clickOnMainPageLink() {
   wait.forElementVisible(linkToMainPage);
   jsActions.scrollToElement(linkToMainPage);
   linkToMainPage.click();
   return this;
 }
コード例 #2
0
 public CuratedContentPageObject clickOnLoadMoreButton() {
   wait.forElementVisible(loadMoreButton);
   jsActions.scrollToElement(loadMoreButton);
   loadMoreButton.click();
   return this;
 }
コード例 #3
0
 public CuratedContentPageObject clickOnCuratedContentElementByIndex(int elementNumber) {
   wait.forElementVisible(curatedContentItems.get(elementNumber));
   jsActions.scrollToElement(curatedContentItems.get(elementNumber));
   curatedContentItems.get(elementNumber).click();
   return this;
 }