Edge not working locally

39 views
Skip to first unread message

surabhi arora

unread,
Aug 9, 2022, 3:06:36 AM8/9/22
to NightwatchJs
Hi Team 
I am trying to run test cases on edge browser using the following code :
******************************************
const edgedriver = require('msedgedriver');
const seleniumServer = require("selenium-server-standalone-jar");

const localBrowsersConfigs = {
output_folder: "reports",
parallel_process_delay: 3000,
test_workers: {
enabled: true,
workers: 15,
},
live_output: true,
disable_colors: false,
selenium: {
start_process: true,
server_path: seleniumServer.path,
port: 4444,
cli_args: {
"webdriver.edge.driver": edgedriver.path,
},
},
test_settings: {
edge: {
desiredCapabilities: {
browserName: "MicrosoftEdge"
},
},
},
};
*******************************************
But this is not working. Following error is coming :

*********************************************

{

     value: {

       error: [

         'Current browser version is 104.0.5112.79 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome',

         '  (Driver info: chromedriver=102.0.5005.61 (0e59bcc00cc4985ce39ad31c150065f159d95ad3-refs/branch-heads/5005@{#819}),platform=Mac OS X 11.6.5 x86_64) (WARNING: The server did not provide any stacktrace information)',

         'Command duration or timeout: 2.10 seconds',

         "Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'",

         "System info: host: 'EXPC02G7B4NMD6R', ip: 'fe80:0:0:0:1c72:bc4f:1cf6:73ec%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '11.6.5', java.version: '1.8.0_333'",

         'Driver info: driver.version: unknown'

       ],

       message: 'session not created: This version of ChromeDriver only supports Chrome version 102'

     },

     status: 33

***********************************************

Can someone suggest what is the issue due to which I am not able to run edge ??

Note : I am using Mac 


Regards,

Surabhi Arora

John Kretschmann

unread,
Aug 9, 2022, 2:02:23 PM8/9/22
to NightwatchJs
Looks like your driver version is not compatible with your browser version.  Looks like your browser is version 104 and your driver is version 102.

--
You received this message because you are subscribed to the Google Groups "NightwatchJs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nightwatchjs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nightwatchjs/864f6d2d-123f-43e0-9d97-3e4ed4155f0cn%40googlegroups.com.

Priyansh Garg

unread,
Aug 11, 2022, 9:30:06 AM8/11/22
to NightwatchJs
Hi, it is very unclear from the configuration you shared to figure out what is actually happening here. For one thing, you've mentioned browserName as 'MicrosoftEdge', but still it is trying to run the test on Google Chrome browser.

Can you maybe join Nightwatch's Discord Server and we can discuss this issue over there?

Thanks!

Reply all
Reply to author
Forward
Message has been deleted
0 new messages