Created
March 4, 2019 13:34
-
-
Save ksakae1216/885f01660570102867038bf021ffba3c to your computer and use it in GitHub Desktop.
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
import { ProtractorBrowser, Config } from 'protractor'; | |
export let config: Config = { | |
seleniumAddress: 'http://localhost:4444/wd/hub', | |
capabilities: { | |
'browserName': 'chrome' | |
}, | |
framework: 'jasmine', | |
specs: ['./specs/**/*.js'], | |
jasmineNodeOpts: { | |
defaultTimeoutInterval: 90000 | |
}, | |
onPrepare: () => { | |
let globals = require('protractor'); | |
let browser = globals.browser; | |
browser.manage().window().maximize(); | |
browser.manage().timeouts().implicitlyWait(5000); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment