Home Ask Login Register

Developers Planet

Your answer is one click away!

Santhosh_Reddy February 2016

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

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 ?


Arun Prakash February 2016

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.

Post Status

Asked in February 2016
Viewed 3,048 times
Voted 7
Answered 1 times


Leave an answer

Quote of the day: live life