Home > Back-end >  Unable to Access Jarfile Selenium Grid on CMD
Unable to Access Jarfile Selenium Grid on CMD

Time:06-21

I'm trying to install Selenium Grid on my computer.

I tried Java SDK 8, 11, and 18 and none of them worked.

I created a file in C: driver and added a jar in this folder.

photo1

photo2

CodePudding user response:

Firstly

java -jar selenium-server-standalone-<version>.jar -role hub

not working on Windows. Correct format is:

java -jar selenium-server-4.2.2.jar standalone

But this is maybe still not work. We need to add "ChromeDriver" and define path. You need to store driver file in SeleniumGrid folder. After that steps Hub is start working.

grid

  • Related