Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
2.0k views
by

Hi,

I started my grid hub and it says that "Selenium Grid hub is up and running" but when I go to "http://localhost:4444/wd/hub", it throws this error.

// http://localhost:4444/wd/hub
{
  "status": 13,
  "value": {
    "class": "java.lang.NullPointerException",
    "stackTrace": [
      {
        "fileName": "ExternalSessionKey.java",
        "className": "org.openqa.grid.internal.ExternalSessionKey",
        "methodName": "fromWebDriverRequest",
        "lineNumber": 77
      },
      {
        "fileName": "WebDriverRequest.java",
        "className": "org.openqa.grid.web.servlet.handler.WebDriverRequest",
        "methodName": "extractSession",
        "lineNumber": 62
      },
      {
        "fileName": "RequestHandler.java",
        "className": "org.openqa.grid.web.servlet.handler.RequestHandler",
        "methodName": "getSession",
        "lineNumber": 239
      },
 
    ]
  }
}
 
Can you please help.
Thanks!

1 Answer

0 like 0 dislike
by
Can you try connecting mode and post the output here???
...