python bindings for selenium returns in exception when initiating a Firefox webdriver object -
when on windows want give try webdriver extension selenium, error. installed python bindings on installation page. , try to following:
from selenium import webdriver browser = webdriver.firefox()
firefox (15.0) opened , after exception occurs:
traceback (most recent call last): file "<stdin>", line 1, in <module> file "c:\python27\lib\site-packages\selenium-2.32.0-py2.7.egg\selenium\webdriver\firefox\webdriver.py", line 62, in __init__ desired_capabilities=capabilities) file "c:\python27\lib\site-packages\selenium-2.32.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 72, in __init__ self.start_session(desired_capabilities, browser_profile) file "c:\python27\lib\site-packages\selenium-2.32.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 114, in start_session 'desiredcapabilities': desired_capabilities, file "c:\python27\lib\site-packages\selenium-2.32.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 165, in execute self.error_handler.check_response(response) file "c:\python27\lib\site-packages\selenium-2.32.0-py2.7.egg\selenium\webdriver\remote\errorhandler.py", line 152, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.webdriverexception: message: ''
i tried same without webdriver, 1.0 api , can open firefox , go specific page, webdriver case not have luck. has clue wrong ? os windos 7, 64 bit version. tried same latest python bindings version control, has same error.
Comments
Post a Comment