mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
5 lines
259 B
TypeScript
5 lines
259 B
TypeScript
import SeleniumWebDriver, { WebDriver } from "selenium-webdriver";
|
|
|
|
export default async function(driver: WebDriver, locator: SeleniumWebDriver.Locator, timeout: number = 5000) {
|
|
await driver.wait(SeleniumWebDriver.until.elementLocated(locator), timeout);
|
|
} |