Hi I am running Selenium in python with internet explorer using
from selenium.dev site with the following code:
from selenium import webdriver from selenium.webdriver.common.keys import Keys #Setting up the driver caps = webdriver.DesiredCapabilities.INTERNETEXPLORER caps['ignoreProtectedModeSettings'] = True caps['nativeEvents'] = True caps['ignoreZoomSetting'] = True caps['InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS'] = True caps['requireWindowsFocus'] = True driver = webdriver.Ie(executable_path="C:\\IEDriverServer.exe", capabilities=caps)
The driver successfully open IE 11 with no warning and with the welcoming page
"This is the initial start page for the WebDriver server." however Python seems to stuck at executing
drive = webdriver.Ie() and I have no way to call
I have followed the instruction by making sure all protected mode turns on.