Skip to content

Commit

Permalink
Update chrome and edge default desiredCapabilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 authored May 8, 2024
1 parent 39ee877 commit 977378e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/config/main.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,11 @@ module.exports = {
browserName: 'chrome',
'goog:chromeOptions': {
// More info on Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/
//
// w3c:false tells Chromedriver to run using the legacy JSONWire protocol (not required in Chrome 78)
w3c: true,
args: [
//'--no-sandbox',
//'--ignore-certificate-errors',
//'--allow-insecure-localhost',
//'--headless'
//'--headless=new'
]
}
},
Expand All @@ -169,18 +166,15 @@ module.exports = {
desiredCapabilities: {
browserName: 'MicrosoftEdge',
'ms:edgeOptions': {
w3c: true,
// More info on EdgeDriver: https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/capabilities-edge-options
args: [
//'--headless'
//'--headless=new'
]
}
},
webdriver: {
start_process: true,
// Follow https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=c-sharp#download-microsoft-edge-webdriver
// to download the Edge WebDriver and set the location of extracted `msedgedriver` below:
server_path: '',
cli_args: [
// --verbose
Expand Down

0 comments on commit 977378e

Please sign in to comment.