0
我正在使用python和selenium web驱动程序来测试web软件。我有一个简单的脚本,当IE浏览器驱动程序启动时,为了与其他测试元素进行一些操作,我必须等待一段时间。之后,等待几秒钟,首先尝试访问网页元素导致严重错误。警报显示IE驱动程序服务器已停止,我应该关闭或重新启动程序。IE驱动程序服务器意外关闭错误使用硒python
还存在如下的系统异常信息的一些日志:
Problem signature:
Problem Event Name: APPCRASH
Application Name: IEDriverServer.exe
Application Version: 2.33.0.0
Application Timestamp: 519d056f
Fault Module Name: IEDF41E.tmp
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 519d0564
Exception Code: c0000005
Exception Offset: 00015a90
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
我从the provided link什么都没有,也this file这是C:\Windows\system32\en-US\erofflps.txt
。我使用Windows 7 AMD64和Python 2.7以及2.9版本。有关这个问题的任何想法?
第1步是将您的IEDriver版本升级到v2.42:http://selenium-release.storage.googleapis.com/index.html?path=2.42/ – Arran
@Arran,我编辑了问题;请检查。 –
检查您的初始化。 'webdriver.Chrome' ????? – Arran