Internet Explorer driver is not working in Selenium Python bindings -


i using "python 3.4.1" 32 bit on windows 7 x86_64 system.

i trying automate task involves interacting website. , using "selenium" python.

the following code works fine while opening "firefox":

from selenium import webdriver driver = webdriver.firefox() driver.get("http://www.python.org") 

i want script work internet explorer well. have ie 9, , downloaded "iedriverserver_win32_2.44.0" ie driver work. but, when try run code:

driver = webdriver.ie("c:\\iedriver\\iedriverserver.exe") 

or

driver = webdriver.ie() 

it opens command prompt title of command prompt window frame being "c:\iedriver\iedriverserver.exe" blinking cursor , gives following error:

traceback (most recent call last): file "", line 1, in driver = webdriver.ie("c:\iedriver\iedriverserver.exe") file "c:\python34\lib\site-packages\selenium\webdriver\ie\webdriver.py", line 46, in init self.iedriver.start() file "c:\python34\lib\site-packages\selenium\webdriver\ie\service.py", line 79, in start raise webdriverexception("can not connect iedriver") selenium.common.exceptions.webdriverexception: message: can not connect iedriver

i added "path" variable path iedriverserver.exe it's still giving error (the path is: c:\iedriver)

what do ie running?

thanks!


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -