Grid node register fails | Selenium Forum
T
toolslearning7 Posted on 19/06/2022

I ran grid Hub creation command and it worked fine.

When I try to run below code for node registering i am getting error.

PS C:\Users\spata\Downloads\Selenium> java -Dwebdriver.chrome.driver="C:\Users\spata\Downloads\Selenium\chromedriver.exe" -jar C:\Users\spata\Downloads\Selenium\selenium-server-standalone-3.141.59.jar -role node -nodeConfig C:\Users\spata\Downloads\Selenium\node1.json
>>
Error: Could not find or load main class .chrome.driver=C:\Users\spata\Downloads\Selenium\chromedriver.exe

Please help me to resolve this its urgent work for me.

Note: driver, jar file and node1.json i kept at rigt folder