31 lines
674 B
Java
31 lines
674 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 SpecialistsViewPage {
|
|
private WebDriver driver;
|
|
|
|
public SpecialistsViewPage(WebDriver driver) {
|
|
this.driver = driver;
|
|
}
|
|
|
|
public String getTitle(){
|
|
System.out.println( "Page Title = " + driver.getTitle().toString());
|
|
return driver.getTitle();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|