Created
March 19, 2020 15:51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This Cucumber.js tutorial support file is used to perform validations and initialization for our application // | |
var seleniumWebdriver = require('selenium-webdriver'); | |
var firefox = require('selenium-webdriver/firefox'); | |
var chrome = require('selenium-webdriver/chrome'); | |
function CustomWorld() { | |
this.driver = new seleniumWebdriver.Builder() | |
.forBrowser('chrome') | |
.build(); | |
} | |
module.exports = function() { | |
this.World = CustomWorld; | |
this.setDefaultTimeout(30 * 1000); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment