I had a devil of a time figuring this out. It wasn't documented on the web anywhere I could find. I ended up reading the webdriver init.py to find out.
Just check this,
This is how it can be done -
- Download selenium from here https://pypi.python.org/pypi/selenium
- Assuming that you are on windows use - python setup.py install
- Download IEDriverServer.exe and put it in your path
from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Ie("C:\\Python34\\IEDriverServer.exe") //Your tests here driver.close()