authelia/test/helpers/with-driver.ts

13 lines
261 B
TypeScript
Raw Permalink Normal View History

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