量角器Internet Explorer缓慢 [英] Protractor Internet Explorer Slowness

查看:109
本文介绍了量角器Internet Explorer缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图让Internet Explorer 11在Protractor下运行,以完成针对新AngularJS项目的一套测试.

I've been trying to get Internet Explorer 11 to run under Protractor to complete a suite of tests I have for an new AngularJS project.

我正在Windows 7-64位环境下运行,并下载并安装了64位Selenium IEDriverServer.exe.

I'm running under Windows 7 - 64 Bit and have downloaded and installed the Selenium IEDriverServer.exe for 64 Bit.

当我启动Protractor并运行方案时,Internet Explorer会启动并导航至页面,但是当方案将键发送到输入字段时,它非常慢,例如每次按键之间大约需要15秒.而且Selenium没有显示任何类型的异常被抛出.

When I go to launch Protractor and run the scenarios, Internet Explorer comes up and navigates to the page just fine, but when the scenario sends keys to an input field it is extremely slow, like about 15 seconds between each key press. And Selenium is not showing any type of exception being thrown.

有没有人以前见过这种行为并找到了解决方法?

Has anyone seen this behavior before and found a solution?

谢谢

推荐答案

这是已知的错误或问题"(但不是 IEDriver中的错误):

It's a known bug or "issue" (not a bug within the IEDriver however):

http://code.google.com/p/selenium/issue/detail?id = 3072 (引用IE10,但指向和解决方案在根本上是相同的)

http://code.google.com/p/selenium/issues/detail?id=3072 (references IE10 but the point & solution is the same fundamentally)

在Selenium问题跟踪器中对此进行了解释,但是解决方法是使用32位版本的驱动程序.实际上,使用显式的64位版本不会带来太多收益.

It is explained in the Selenium issue tracker, but the workaround will be to use the 32bit version of the driver. Realistically you don't get "much" from using the explicit 64bit version.

我还要说,您可能还会遇到IE11的问题. Selenium还不完全支持IE11.

I'd also say you may have further problems with IE11. Selenium doesn't support IE11 fully yet.

https://code.google.com/p/selenium/issues/detail?id = 6437#c7 (以及其他问题)

从长远来看,您可能最好将其降级到IE10并使用32位驱动程序.

You are probably, long term, better off downgrading to IE10 and using the 32bit driver.

这篇关于量角器Internet Explorer缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆