You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
What steps will reproduce the problem?
import selenium
from selenium import webdriver
driver = webdriver.Remote(command_executor="http://selenium.server.com:4444/wd/hub",
desired_capabilities="webdriver.DesiredCapabilities.FIREFOX")
driver.implicitly_wait(60)
driver.get('http://www.google.com')
What is the expected output? What do you see instead?
Browser should open Google page with implicit wait time of 60 seconds but it's failing
with the following exception
7610 [SocketListener0-1] INFO org.openqa.jetty.jetty.context./wd - WebDriver remote
server: Fatal, unhandled exception: /session: java.lang.ClassCastException: java.lang.String
cannot be cast to java.util.Map
Please find attached the complete server side logs.
Client side stack trace:
Traceback (most recent call last):
File "/home/test/lib/uidriver.py", line 29, in loginui
driver.implicitly_wait(60)
File "/opt/python/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 618, in implicitly_wait
self.execute(Command.IMPLICIT_WAIT, {'ms': float(time_to_wait) * 1000})
File "/opt/python/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 152, in execute
self.error_handler.check_response(response)
File "/opt/python/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py",
line 147, in check_response
raise exception_class(message, screen, stacktrace)
WebDriverException: Message: None ; Stacktrace: Method handle threw an error in WebDriverHandler.java
Selenium version: 2.20.0
OS: Windows Vista (Selenium Server) & CentOS 5.6 (Test scripts using Python)
Browser: Firefox
Browser version: 8.0.1