startSession using RemoteWebDriver

109 views
Skip to first unread message

akay

unread,
Jan 25, 2012, 12:21:17 PM1/25/12
to Selenium Users
Hi,

When I try to use RemoteWebDriver, it throws the following error
while starting the session

java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.Map
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:
118)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:
76)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:
84)

any idea on how to get around this? thanks!

Luke Inman-Semerau

unread,
Feb 2, 2012, 2:20:19 PM2/2/12
to seleniu...@googlegroups.com
Care to send the line of code you are using to connect? (also what are you connecting to? grid or standalone). 

Also please try updating to the latest version (2.18).


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Reply all
Reply to author
Forward
0 new messages