21 lines
447 B
Java
21 lines
447 B
Java
package page.search;
|
|
|
|
import org.openqa.selenium.WebDriver;
|
|
import org.openqa.selenium.WebElement;
|
|
import org.openqa.selenium.support.FindBy;
|
|
|
|
public class SearchInTextResultPage {
|
|
WebDriver driver;
|
|
|
|
@FindBy(css = ".textorangebig")
|
|
private WebElement element;
|
|
|
|
public SearchInTextResultPage(WebDriver driver) {
|
|
this.driver = driver;
|
|
}
|
|
|
|
public boolean isUserPresent() {
|
|
return element.isDisplayed();
|
|
}
|
|
}
|