Selenium webdriver chrome exception

I am working with Selenium Java for Automation and I am using

String Node = "http://" + nodeIP + ":5557/wd/hub";
driver = new RemoteWebDriver(new URL(Node), cap);

to get a new client browser instance but I get an exception as mentioned below

org.openqa.selenium.UnsupportedCommandException chrome
org.openqa.selenium.UnsupportedCommandException: 

The requested URL could not be retrieved
SAP Cloud Services Infrastructure Management

Is there by any means do we have any flags which can't correct these ? I mean from Java program can we set and avoid this exception ? If so how do we set them for Chrome or IE ?

Answers


UnsupportedCommandException is mostly due to host file issues. You may have to look at https://code.google.com/p/selenium/issues/detail?id=3280 .

Most generic solution can be found here.


Need Your Help

Using a function from one jsp in another jsp

java jsp

I have a jsp file were the db connection is created and queries can be executed.

GCM - how to selectively send messages to certain package names?

android build google-cloud-messaging variants

We have a project with three build variants: dev, tst, live and respective package names our.package.name.dev, our.package.name.tst, our.package.name. All build variants have different back-ends so...