I have the following code:
DesiredCapabilities caps = new DesiredCapabilities();
WebDriver driver = new RemoteWebDriver(new URL("http://127.0.0.1:4444/wd/hub"), caps);
If I connect directly to Ghostdriver everything works correctly.
However if I connect via Ghostdriver connected to a Selenium Grid an UnsupportedCommandException is thrown. Other methods such as setSize() and getCookies() cause a similar error.
I am using the latest selenium-server-standalone.jar for the grid server and the latest phantomjs Linux x86_64 binary
I don't know if this problem is caused by Ghostdriver, Selenium Grid or a combination but you hopefully have the expertise to debug this further.
Look like this is fixed with the latest version of Selenium