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.
When calling execute_script("return [ document.location ];") using selenium 2.25.0 and
Firefox 14 the function hangs.
What steps will reproduce the problem?
~$ mkdir se-bug
~$ cd se-bug
~/se-bug$ virtualenv -p /usr/bin/python2.6 --no-site-packages clean-python26-env
~/se-bug$ source clean-python26-env/bin/activate
(clean-python26-env) ~/se-bug$ easy_install selenium==2.25.0
create a test file ~/se-bug/testExeJS.py
import unittest
from selenium import webdriver
class ExecuteJavascriptTestCase(unittest.TestCase):
and run unittest
(clean-python26-env) ~/se-bug$ python testExeJS.py
What is the expected output? What do you see instead?
the execute_script call hangs. Instead I expect it to return as it does under selenium
2.24.0
(clean-python26-env) ~/se-bug$ rm -Rf clean-python26-env/lib/python2.6/site-packages/selenium-2.25.0-py2.6.egg
(clean-python26-env) ~/se-bug$ easy_install selenium==2.24.0
(clean-python26-env) ~/se-bug$ python testExeJS.py
Finished
.
----------------------------------------------------------------------
Ran 1 test in 6.198s
OK
(clean-python26-env) ~/se-bug$
Selenium version: 2.25.0
OS: Ubuntu 11.04
Browser: Firefox
Browser version: 14.0.1 (possible as far back as FF 10)
Originally reported on Google Code with ID 4375
import unittest
from selenium import webdriver
class ExecuteJavascriptTestCase(unittest.TestCase):
if name == "main":
unittest.main()
Reported by
[email protected]
on 2012-08-05 01:26:26- _Attachment: [testExeJS.py](https://storage.googleapis.com/google-code-attachments/selenium/issue-4375/comment-0/testExeJS.py)_
The text was updated successfully, but these errors were encountered: