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
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


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

Search




Leave an answer