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 has been archived by the owner on Nov 29, 2018. It is now read-only.
What steps will reproduce the problem?
using the script below when I ran against Firefox 8
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("https://www.tippr.com/")
mainWindow = driver.current_window_handle
facebook = driver.find_element_by_css_selector("a.fb_button")
facebook.click()
handles = driver.window_handles
print handles
for window in handles:
if window != mainWindow:
driver.switch_to_window(window)
facebookWindow = driver.current_window_handle
cancelButton = driver.find_element_by_name("cancel")
cancelButton.click()
I get
python test.py
[u'{ff097ea7-7c71-6940-b63c-2d7ff9a84a87}', u'{33cb452c-8cf6-3a49-b281-332bc4606a52}']
Traceback (most recent call last):
File "test.py", line 16, in <module>
cancelButton.click()
File "/Users/davidburns/.virtualenvs/testing/lib/python2.6/site-packages/selenium-2.14.0-py2.6.egg/selenium/webdriver/remote/webelement.py",
line 45, in click
self._execute(Command.CLICK_ELEMENT)
File "/Users/davidburns/.virtualenvs/testing/lib/python2.6/site-packages/selenium-2.14.0-py2.6.egg/selenium/webdriver/remote/webelement.py",
line 194, in _execute
return self._parent.execute(command, params)
File "/Users/davidburns/.virtualenvs/testing/lib/python2.6/site-packages/selenium-2.14.0-py2.6.egg/selenium/webdriver/remote/webdriver.py",
line 153, in execute
self.error_handler.check_response(response)
File "/Users/davidburns/.virtualenvs/testing/lib/python2.6/site-packages/selenium-2.14.0-py2.6.egg/selenium/webdriver/remote/errorhandler.py",
line 147, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: u"'Error: Permission denied
for <https://www.facebook.com> to get property HTMLDocument.compatMode' when calling
method: [wdIMouse::move]"
What is the expected output? What do you see instead?
This should have clicked fine
Please use labels and text to provide additional information.
Reported by david.burns@theautomatedtester.co.uk on 2011-12-07 15:27:07
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 3018
Reported by
david.burns@theautomatedtester.co.uk
on 2011-12-07 15:27:07The text was updated successfully, but these errors were encountered: