org.openqa.selenium.UnsupportedCommandException: Invalid Command Method - {"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"2","Content-Type":"application/json; charset=utf-8","Host":"localhost:10643","User-Agent":"Apache-HttpClient/4.5.1 (Java/1.8.0_92)"},"httpVersion":"1.1","method":"POST","post":"{}","url":"/frame/parent","urlParsed":{"anchor":"","query":"","file":"parent","directory":"/frame/","path":"/frame/parent","relative":"/frame/parent","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/frame/parent","queryKey":{},"chunks":["frame","parent"]},"urlOriginal":"/session/b125a4e0-4f49-11e6-a714-c1f31aaa0839/frame/parent"} Command duration or timeout: 5 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03' System info: host: 'Selvas-MacBook-Pro.local', ip: '192.168.0.23', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.8.0_92' Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, handlesAlerts=false, databaseEnabled=false, version=2.1.1, platform=OS X 10.11, browserConnectionEnabled=false, proxy={proxyType=direct}, nativeEvents=true, acceptSslCerts=false, driverVersion=1.2.0, locationContextEnabled=false, webStorageEnabled=false, browserName=phantomjs, takesScreenshot=true, driverName=ghostdriver, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: b125a4e0-4f49-11e6-a714-c1f31aaa0839

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 GitHub by selvagsz
, 1 year ago
Invalid Command Method - {"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"2","Content-Type":"application/json; charset=utf-8","Host":"localhost:10643","User-Agent":"Apache-HttpClient/4.5.1 (Java/1.8.0_92
via GitHub by Modaphukka
, 6 months ago
Invalid Command Method - {"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"2","Content-Type":"application/json; charset=utf-8","Host":"localhost:31049","User-Agent":"Apache-HttpClient/4.5.2 (Java/1.8.0_121
via GitHub by GoogleCodeExporter
, 10 months ago
[GET, HEAD, DELETE] Command duration or timeout: 7 milliseconds Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 21:08:56' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_01' Driver
via GitHub by DenUlyanov
, 1 year ago
'mouseDown' is not valid or implemented command. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 8 milliseconds Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44' System info
via GitHub by eos1d3
, 10 months ago
:46' System info: host: 'MacPro', ip: '192.168.2.100', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_77' Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver Capabilities [{applicationCacheEnabled=false
via GitHub by sagar-navtech
, 9 months ago
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'mac-185-44-128-250.browserstack.com', ip: '185.44.128.250', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12', java.version: '1.8.0_51
org.openqa.selenium.UnsupportedCommandException: Invalid Command Method - {"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"2","Content-Type":"application/json; charset=utf-8","Host":"localhost:10643","User-Agent":"Apache-HttpClient/4.5.1 (Java/1.8.0_92)"},"httpVersion":"1.1","method":"POST","post":"{}","url":"/frame/parent","urlParsed":{"anchor":"","query":"","file":"parent","directory":"/frame/","path":"/frame/parent","relative":"/frame/parent","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/frame/parent","queryKey":{},"chunks":["frame","parent"]},"urlOriginal":"/session/b125a4e0-4f49-11e6-a714-c1f31aaa0839/frame/parent"} Command duration or timeout: 5 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03' System info: host: 'Selvas-MacBook-Pro.local', ip: '192.168.0.23', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.8.0_92' Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, handlesAlerts=false, databaseEnabled=false, version=2.1.1, platform=OS X 10.11, browserConnectionEnabled=false, proxy={proxyType=direct}, nativeEvents=true, acceptSslCerts=false, driverVersion=1.2.0, locationContextEnabled=false, webStorageEnabled=false, browserName=phantomjs, takesScreenshot=true, driverName=ghostdriver, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: b125a4e0-4f49-11e6-a714-c1f31aaa0839
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:701)
at org.openqa.selenium.remote.server.handler.SwitchToParentFrame.call(SwitchToParentFrame.java:33)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 8 months ago

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