from selenium import webdriver import csv import time url_results=[] driver_ie = webdriver.Ie('C:\\Users\\aviv\\Desktop\\IEDriverServer') with open ('C:\\Users\\aviv\\Desktop\\urlspart.txt','r') as d: urls= d.read().splitlines() for i,url in enumerate(urls): try: print "URL: " + url driver_ie.get(url) time.sleep(7) current_url_ie = driver_ie.current_url redirect_ie='No' if current_url_ie == 'https://www.aviv.com': redirect_ie ='Yes' except Exception,e: redirect_ie = 'error' print e, Exception writer.writerow([i,url,redirect_ie]) ofile.close() This code throw exception with message: "Unable to get browser". I have already changed Internet Options --> Security and signed the "Enable protected mode", But the error still exists. Anyone solution ? Continue reading...