diff --git a/src/config/main.ejs b/src/config/main.ejs index 95f9844..562a593 100644 --- a/src/config/main.ejs +++ b/src/config/main.ejs @@ -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' ] } }, @@ -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