authelia/test/helpers/with-driver.ts

13 lines
261 B
TypeScript
Raw Normal View History

2018-08-10 03:24:02 +07:00
import SeleniumWebdriver = require("selenium-webdriver");
export default function() {
before(function() {
this.driver = new SeleniumWebdriver.Builder()
.forBrowser("chrome")
.build();
})
after(function() {
this.driver.quit();
});
}