Selenium WebDriver在IE浏览器的文本字段中输入速度非常慢 [英] Selenium WebDriver typing very slow in text field on IE browser

查看:720
本文介绍了Selenium WebDriver在IE浏览器的文本字段中输入速度非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 IE 11 浏览器上运行我的一个脚本 Selenium 2.43.1
当脚本在文本字段中使用以下内容键入时:

I'm running one of my scripts on IE 11 browser with Selenium 2.43.1 when the script types in text field using following:

element.sendKeys("string");

在IE浏览器中,我可以看到字符串中的一个字符在文本字段中输入并等待键入下一个字符前1​​-2秒。键入一个字符的方法需要1-2秒。

In IE browser, I can see that one character of string is typed in text field and it waits for 1-2 seconds before typing next character. Means for typing one character it's taking 1-2 seconds.


  1. 为什么IE输入速度这么慢?

  2. 有没有其他方法可以加快输入速度?


推荐答案

我的问题也是使用驱动程序体系结构,并通过下载和使用32位数据来修复它。帮助我解决问题的主题

My issue was also with the driver architecture, and fixed it by downloading and using a 32bit one. The thread that helped me resolve

http://forumsqa.com/question/typing-too-slow-in-text-fields-while-replaying-tests/

这篇关于Selenium WebDriver在IE浏览器的文本字段中输入速度非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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