authelia/test/helpers/IsAlreadyAuthenticatedStage.ts

5 lines
243 B
TypeScript

import SeleniumWebDriver, { WebDriver } from "selenium-webdriver";
export default async function(driver: WebDriver) {
await driver.wait(SeleniumWebDriver.until.elementLocated(SeleniumWebDriver.By.className('already-authenticated-step')));
}