栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

Selenium WebDriver在IE浏览器中的文本字段中键入非常慢

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Selenium WebDriver在IE浏览器中的文本字段中键入非常慢

我的问题是驱动程序体系结构,并通过下载和使用32位解决了该问题。

要切换到32位,这是您要做的

  1. 从http://selenium-release.storage.googleapis.com/index.html下载32位驱动程序服务
  2. InterExplorerWeDriver
    使用
    InternetExplorerDriverService
    具有32位驱动程序服务路径的类实例化您的类 。

InternetExplorerDriver ieDiver = new InternetExplorerDriver(“Path to the 32bit Explorer driver”);

或者, 如果使用构建器:

System.setProperty(“webdriver.ie.driver”,“C:\drivers\IEDriverServer.exe”);DesiredCapabilities ieCapabilities=DesiredCapabilities.internetExplorer();ieCapabilities.setCapability(InternetExplorerDriver .INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);ieCapabilities.setCapability("requireWindowFocus", true);File ie_temp=newFile(“C:\Selenium\IEDrivertemp”);InternetExplorerDriverService.Builder ies=newInternetExplorerDriverService.Builder();ies.withExtractPath(ie_temp);InternetExplorerDriverService service=ies.build();WebDriver driver=newInternetExplorerDriver(service,ieCapabilities))

帮助我解决的话题

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



转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/470933.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号