diff --git a/lib/runner/cli/nightwatch.conf.ejs b/lib/runner/cli/nightwatch.conf.ejs index 7d34062de3..3009290d3c 100644 --- a/lib/runner/cli/nightwatch.conf.ejs +++ b/lib/runner/cli/nightwatch.conf.ejs @@ -93,8 +93,8 @@ module.exports = { 'goog:chromeOptions' : { // More info on Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/ // - // This tells Chromedriver to run using the legacy JSONWire protocol (not required in Chrome 78) - w3c: false, + // w3c:false tells Chromedriver to run using the legacy JSONWire protocol (not required in Chrome 78) + w3c: true, args: [ //'--no-sandbox', //'--ignore-certificate-errors', @@ -117,7 +117,7 @@ module.exports = { desiredCapabilities : { browserName : 'MicrosoftEdge', 'ms:edgeOptions' : { - w3c: false, + w3c: true, // More info on EdgeDriver: https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/capabilities-edge-options args: [ //'--headless' @@ -208,7 +208,7 @@ module.exports = { desiredCapabilities: { browserName: 'chrome', chromeOptions : { - w3c: false + w3c: true } } }, @@ -270,7 +270,7 @@ module.exports = { desiredCapabilities: { browserName: 'chrome', chromeOptions : { - w3c: false + w3c: true } } }, diff --git a/test/src/cli/testCliRunnerGenerate.js b/test/src/cli/testCliRunnerGenerate.js index d2b0bbf159..9702b568ac 100644 --- a/test/src/cli/testCliRunnerGenerate.js +++ b/test/src/cli/testCliRunnerGenerate.js @@ -76,7 +76,7 @@ describe('Test CLI Runner Generate', function() { browserName: 'chrome', 'goog:chromeOptions': { args: [], - w3c: false + w3c: true } }, @@ -154,7 +154,7 @@ describe('Test CLI Runner Generate', function() { desiredCapabilities: { browserName: 'chrome', chromeOptions: { - w3c: false + w3c: true } } });