authelia/test/helpers/behaviors/VisitPageAndWaitUrlIs.ts
2019-03-03 11:39:40 +01:00

8 lines
295 B
TypeScript

import { WebDriver } from "selenium-webdriver";
import VerifyUrlIs from "../assertions/VerifyUrlIs";
import VisitPage from "../VisitPage";
export default async function(driver: WebDriver, url: string, timeout: number = 5000) {
await VisitPage(driver, url);
await VerifyUrlIs(driver, url);
}