-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Description:
I got the following traceback error, when I tried to execute my testing script after updated my selenium to 3.0.2.
Traceback (most recent call last):
File "try.py", line 20, in <module>
browser.get('http://google.com')
File "/usr/local/lib/python2.7/dist-packages/pytractor/mixins.py", line 205, in get
""".format(DEFER_LABEL, full_url)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 466, in execute_script
'args': converted_args})['value']
File "/usr/local/lib/python2.7/dist-packages/pytractor/mixins.py", line 104, in execute
params=params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 237, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Error: Permission denied to access property "name"
Here is my sample code:
from pyvirtualdisplay import Display
from pytractor import webdrive
display = Display(visible=0, size=(800, 600))
display.start()
browser = webdriver.Firefox()
browser.ignore_synchronization = True
browser.get('http://yahoo.com')
print browser.title
browser.get('http://google.com')
print browser.title
browser.quit()
display.stop()OS :
Linux ubuntu 16.04
Firefox 45, 46, 47.0.1, 51.0.1
Work arround :
You have to stuck with selenium 2.53.6 to be able to use firefox and pytractor tell this issue be fixed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels