WebDriverException: Error forwarding the new session cannot find : {platform=WINDOWS, browserName=FIREFOX, version=3.6}

后端 未结 6 1704
轮回少年
轮回少年 2021-01-18 09:55

I am new to Selenium Web driver as well as Grid 2.

I am trying to run a test case but it gives me an exception

Exception in thread \"main\" o

6条回答
  •  滥情空心
    2021-01-18 10:35

    you can check url http://localhost:4444/grid/console , if already selenium grid is up and running but need to check whether any node is registered or not !!(i.e check any browser is register or not)

    if not you need to register selenium node using below command java -jar selenium-server-standalone-x.xx.0.jar -role node -hub http://localhost:4444/grid/register

    make sure firefox browser is installed on the machine and geckodriver is present on the Path.

    sometimes if you already running selenium hub using docker container you need to kill docker container using docker kill $(docker ps -q);

    If you are running webdriverio then check docker selenium container running status .

提交回复
热议问题