Skip to content

Commit

Permalink
Update wdio.conf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahbub091 committed Mar 25, 2023
1 parent 9ff618c commit d886049
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,15 @@ export const config = {
// Sauce Labs platform configurator - a great tool to configure your capabilities:
// https://saucelabs.com/platform/platform-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',
acceptInsecureCerts: true
// If outputDir is provided WebdriverIO can capture driver session logs
// it is possible to configure which logTypes to include/exclude.
// excludeDriverLogs: ['*'], // pass '*' to exclude all driver session logs
// excludeDriverLogs: ['bugreport', 'server'],
}],
capabilities: [{

maxInstances: 5,
browserName: 'chrome',
acceptInsecureCerts: true,
'goog:chromeOptions': {
args: ["--headless", "user-agent=...","--disable-gpu","--window-size=1440,735"]
}
}],
//
// ===================
// Test Configurations
Expand Down

0 comments on commit d886049

Please sign in to comment.