Error forwarding the new session: Selenium Grid 2

后端 未结 1 825
生来不讨喜
生来不讨喜 2021-01-07 06:32

I have taken latest Selenium Server which is 2.45.0 from here. Followed the documentation and started the hub with the following command

java -j         


        
相关标签:
1条回答
  • 2021-01-07 07:29

    After a good amount of research I was able to solve the issue. The command line parameter was wrong since I am using WebDriver I had to replace

    java -jar selenium-server-standalone-2.45.0.jar -role node -nodeConfig DefaultNode.json

    with

    java -jar selenium-server-standalone-2.45.0.jar -role webdriver -nodeConfig DefaultNode.json -Dwebdriver.ie.driver=.\IEDriverServer.exe

    which makes sure I have the driver executable set up in correct directory as well.

    0 讨论(0)
提交回复
热议问题