public abstract class AbstractPage extends Object implements Page
| Constructor and Description |
|---|
AbstractPage() |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement(Locator locator) |
List<org.openqa.selenium.WebElement> |
findElements(Locator locator) |
Browser |
getBrowser() |
String |
getUrl() |
boolean |
isCurrentPage() |
String |
name() |
void |
open() |
void |
setBrowser(Browser browser) |
void |
setName(String name) |
void |
setUrl(String url) |
String |
title() |
public Browser getBrowser()
public void setBrowser(Browser browser)
setBrowser in interface Pagepublic boolean isCurrentPage()
isCurrentPage in interface Pagepublic org.openqa.selenium.WebElement findElement(Locator locator)
findElement in interface LocatesElementspublic List<org.openqa.selenium.WebElement> findElements(Locator locator)
findElements in interface LocatesElementsCopyright © 2018. All rights reserved.