authelia/test/helpers/with-driver.ts
2018-12-18 16:34:56 +01:00

13 lines
261 B
TypeScript

import SeleniumWebdriver = require("selenium-webdriver");
export default function() {
before(function() {
this.driver = new SeleniumWebdriver.Builder()
.forBrowser("chrome")
.build();
})
after(function() {
this.driver.quit();
});
}