DesiredCapabilities capability = new DesiredCapabilities();
capability.setBrowserName("chrome");
capability.setPlatform(Platform.VISTA);
WebDriver driver = new RemoteWebDriver(new URL("http://172.16.190.226:4444/wd/hub"), capability);
driver.get("http://www.yahoo.com");
It launches chrome but fails to navigate to yahoo.
This exception is thrown by the remote server
17:03:34.222 WARN - Exception thrown
java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.5.0', revision: '13516', time: '2011-08-23 18:29:57'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_26'
Driver info: driver.version: unknown
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:116)
at org.openqa.selenium.remote.server.DefaultSession.<init>(DefaultSession.java:87)
at org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:73)
at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:87)
at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:47)
at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:153)
at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:389)
at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:371)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
How did anyone who got chrome working as a target get it to work?
HI Danny,I am getting the same error in Safari Driver as well.Did you manage to resolve this issue?~ Ajitesh
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.