0

Tried by adding the below code.

"capabilities": [
        {
            "browserName": "MicrosoftEdge",
            "platform": "WIN10",
            "maxInstances": 1
        },
]

and passed it to command line

start java -Dwebdriver.edge.driver="../../Resources/Drivers/msedgedriver.exe" -jar "%SELSERV%" -role node -nodeConfig ..\ConfigFiles\NodeConfig.json

I am getting the microsoft edge legacy

I need the latest microsoft edge (Based on chromium) in selenium grid.

1 Answers1

0

Latest Edge browser being chromium based, try using the below node configurations:

"capabilities": [
        {
            "browserName": "Chrome",
            "platform": "WIN10",
            "maxInstances": 1
        },
]

And then execute the below command:

java -Dwebdriver.chrome.driver="../../Resources/Drivers/msedgedriver.exe" -jar "%SELSERV%" -role node -nodeConfig ..\ConfigFiles\NodeConfig.json

Notice the webdriver.chrome.driver property being set to msedgedriver.exe file.

Aman
  • 159
  • 2
  • 15