开发者

IE8 is not started on Windows7 from Selenium (webdriver) on Python code

My code is simple

from selenium import webdriver

driver = webdriver.Ie()

IE8 is not started. No exceptions, no errors.

OS - Windows 7 Interprise 32x bit

browser IE8.0.7600.16385

Python 2.7 Selenium-2.3.0-py2.7

Why IE8 is not started? Wh开发者_如何学编程ere can be problem?

Problem does not exist on Windows 7 64x bit version.

Thank you


You must have all security zones same value. Following is the text from here

On IE 7 or higher on Windows Vista or Windows 7, you must set the Protected Mode settings for each zone to be the same value. The value can be on or off, as long as it is the same for every zone. To set the Protected Mode settings, choose "Internet Options..." from the Tools menu, and click on the Security tab. For each zone, there will be a check box at the bottom of the tab labeled "Enable Protected Mode". The browser zoom level must be set to 100% so that the native mouse events can be set to the correct coordinates.


just download and copy IEDriverServer.exe in C:\IEDriver\ folder ,

And in Internet option under security tab Enable protected mode for all zones.

than it should work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜