22 lines
602 B
Java
22 lines
602 B
Java
package page;
|
|
|
|
import org.openqa.selenium.WebDriver;
|
|
import org.openqa.selenium.WebElement;
|
|
import org.openqa.selenium.support.FindBy;
|
|
import org.openqa.selenium.support.ui.ExpectedConditions;
|
|
import org.openqa.selenium.support.ui.WebDriverWait;
|
|
|
|
import java.util.List;
|
|
import static java.lang.System.out;
|
|
|
|
public class SearchHospitalByNameResultPage {
|
|
private WebDriver driver;
|
|
|
|
public SearchHospitalByNameResultPage(WebDriver driver) {
|
|
this.driver = driver;
|
|
}
|
|
|
|
public String getTitle(){
|
|
return driver.getTitle();
|
|
}
|
|
} |