"COM method IWebBrowser2::Navigate2() failed" when trying to open website with selenium and authentication

خرید بک لینک

I am using Windows Server 2012, python and selenium (installed freshly on 7 Jul 2016, driver version 2.53.1) and I am trying to open a site (on IE, 11.0.9600) with an authentication as follows:

driver = webdriver.Ie(r"C:UsersalexDocumentsPythonSeleniumDriverIEDriverServer_Win32_2.53.1IEDriverServer.exe")
driver.get("http://user:[email protected]")

to which I get the following error:

selenium.common.exceptions.WebDriverException: Message: Failed to navigate to http://user:[email protected]. This usually means that a call to the COM method IWebBrowser2::Navigate2() failed.

I tried to use the x64 driver as well as the win 32, I enabled the "Enable Protected Mode" for all zones on the InteetExplorer, and I added a value iexplore.exe=0 to the registry as suggested here. Still, I get the same error.

Anything I can try otherwise?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 250 تاريخ: پنجشنبه 17 تير 1395 ساعت: 21:11

صفحه بندی