public abstract class Page extends Object
Copyright (c) 2019 Daniel Keiss, Deutsche Telekom AG This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
driver |
| Constructor and Description |
|---|
Page(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPage()
Check if the page is the right one.
|
void |
checkPageDesignator()
Override this if you wan't to assert the page by a web element, e.g. in single page applications.
|
void |
checkPageState()
Check if the page is completely loaded.
|
void |
checkUrl()
Check if the expected URL matches the current one.
|
abstract String |
getURL() |
void |
reload() |
void |
waitFor(long milliseconds) |
public void checkPage()
public void checkUrl()
public void checkPageState()
public void checkPageDesignator()
public void reload()
public void waitFor(long milliseconds)
public abstract String getURL()
Copyright © 2017–2020. All rights reserved.