2019-03-03 22:51:52 +00:00
|
|
|
import { WebDriver } from "selenium-webdriver";
|
|
|
|
import VerifyBodyContains from "./VerifyBodyContains";
|
2019-02-09 22:20:37 +00:00
|
|
|
|
|
|
|
// Verify if the current page contains "This is a very important secret!".
|
|
|
|
export default async function(driver: WebDriver, timeout: number = 5000) {
|
2019-03-03 22:51:52 +00:00
|
|
|
await VerifyBodyContains(driver, "This is a very important secret!", timeout);
|
2019-02-09 22:20:37 +00:00
|
|
|
}
|