com.polonium.eclipserunner.webdriver.example.pages.SearchResultsPage Maven / Gradle / Ivy
package com.polonium.eclipserunner.webdriver.example.pages;
import com.polonium.eclipserunner.webdriver.PoloniumPage;
import org.openqa.selenium.By;
public class SearchResultsPage extends PoloniumPage{
private static final String RESULT_CLASS_NAME = "result";
public boolean isAnyResultDisplayed(){
return (findWebElement(By.className(RESULT_CLASS_NAME)) != null);
}
}