Skip to content

Ghostdriver + Selenium Grid #200

Closed
android422 opened this Issue Mar 25, 2013 · 1 comment

1 participant

@android422

Hi,

I have the following code:

DesiredCapabilities caps = new DesiredCapabilities();
caps.setJavascriptEnabled(true);

WebDriver driver = new RemoteWebDriver(new URL("http://127.0.0.1:4444/wd/hub"), caps);

driver.get("http://mysite.local");

System.out.println(driver.manage().window().getSize());

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.

Thanks.

@android422

Look like this is fixed with the latest version of Selenium

@android422 android422 closed this May 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.