use selenium python open with IE issue

#selenium python 使用 IEDriver.exepython

##1. download IEDriverweb

##2. unzip IEDriver.exe to %PYTHON%\Scripts\code

##3.execute script got error messageip

Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zonesselenium

##4.solutionit

###4.1 add below script before use webdriverio

from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
DesiredCapabilities.INTERNETEXPLORER['ignoreProtectedModeSettings'] = True

###4.2 modify ie security settingsimport

相關文章
相關標籤/搜索