Last active
April 30, 2021 16:25
-
-
Save madhank93/62f1c12e4025b1faaf27a35591a7444a 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
maxInstances: 10, | |
maxInstancesPerCapability: 1, | |
// | |
// If you have trouble getting all important capabilities together, check out the | |
// Sauce Labs platform configurator - a great tool to configure your capabilities: | |
// https://docs.saucelabs.com/reference/platforms-configurator | |
// | |
capabilities: [{ | |
// maxInstances can get overwritten per capability. So if you have an in-house Selenium | |
// grid with only 5 firefox instances available you can make sure that not more than | |
// 5 instances get started at a time. | |
maxInstances: 5, | |
// | |
browserName: 'chrome', | |
'goog:chromeOptions': { | |
args: [ | |
'--no-sandbox', | |
'--disable-gpu', | |
'--start-fullscreen', | |
'--disable-infobars', | |
'--disable-notifications', | |
'--window-size=1366,2160' | |
], | |
prefs: { | |
'directory_upgrade': true, | |
'prompt_for_download': false, | |
} | |
}, | |
}, | |
{ | |
maxInstances: 5, | |
browserName: 'firefox', | |
'moz:firefoxOptions': { | |
args: [ | |
'--window-size=1366,2160' | |
], | |
}, | |
'acceptInsecureCerts': true, | |
}], |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"lib": [ | |
"ES2020" | |
], | |
"types": [ | |
"node", | |
"webdriverio/async", | |
"@wdio/mocha-framework", | |
"expect-webdriverio" | |
], | |
"moduleResolution": "node", | |
"target": "es2019", | |
"module": "commonjs", | |
"baseUrl": ".", | |
"noImplicitReturns": true, | |
"resolveJsonModule": true, | |
"esModuleInterop": true, | |
"noUnusedLocals": true, | |
"noUnusedParameters": true, | |
"outDir": "./dist", | |
"pretty": true, | |
"noImplicitThis": true, | |
"strict": true | |
}, | |
"exclude": [ | |
"./node_modules" | |
], | |
"include": [ | |
"./*.ts", | |
"./test/**/*.ts", | |
], | |
"compileOnSave": true | |
} |
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
autoCompileOpts: { | |
autoCompile: true, | |
// see https://github.com/TypeStrong/ts-node#cli-and-programmatic-options | |
// for all available options | |
tsNodeOpts: { | |
transpileOnly: true, | |
project: 'tsconfig.json' | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment