Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Created March 4, 2019 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksakae1216/885f01660570102867038bf021ffba3c to your computer and use it in GitHub Desktop.
Save ksakae1216/885f01660570102867038bf021ffba3c to your computer and use it in GitHub Desktop.
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