Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria committed Mar 30, 2020
1 parent c805da1 commit d6123a4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions globals.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const chromedriver = require('chromedriver');

module.exports = {
// External before hook is ran at the beginning of the tests run, before creating the Selenium session
before: function(done) {
chromedriver.start();
//more options here
done();
},

// External after hook is ran at the very end of the tests run, after closing the Selenium session
after: function(done) {
chromedriver.stop();
//more options here
done();
}
};

0 comments on commit d6123a4

Please sign in to comment.