org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request [{"javascriptEnabled":false,"browserName":"firefox","class":"org.openqa.selenium.remote.DesiredCapabilities"}]

Hot problem!
This exception has a lot of traffic. You can help 24 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via varunin.com by Unknown author, 1 year ago
Cannot extract a capabilities from the request [{"javascriptEnabled":false,"browserName":"firefox","class":"org.openqa.selenium.remote.DesiredCapabilities"}]
org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request [{"javascriptEnabled":false,"browserName":"firefox","class":"org.openqa.selenium.remote.DesiredCapabilities"}]
at org.openqa.selenium.remote.RemoteWebDriver.throwIfResponseFailed(RemoteWebDriver.java:439)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:401)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:74)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:61)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:69)
at com.selenium.gird.Google.beforeClass(Google.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.access$0(SuiteRunner.java:333)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.