authelia/test/helpers/assertions/VerifyIsDuoPushNotification...

6 lines
268 B
TypeScript
Raw Normal View History

2019-03-24 22:29:46 +00:00
import SeleniumWebDriver, { WebDriver } from "selenium-webdriver";
export default async function(driver: WebDriver, timeout: number = 5000) {
await driver.wait(SeleniumWebDriver.until.elementLocated(
SeleniumWebDriver.By.className('duo-push-view')), timeout);
}