繁体   English   中英

硒-WebDriver-Firefox 64位Linux

[英]selenium - webdriver - firefox 64 bit linux

尝试测试selenium / webdriver,运行ff8 / fedora 13 / 64bit。

尝试做一个简单的测试,使用sendkeys函数设置输入文本框。

我遇到了似乎表明本地事件无法正常工作的问题。 尝试了硒IRC频道,但没有成功。

似乎“ x_ignore_nofocus.so”文件未正确实现,这显然会影响正确处理本机事件的能力。

如果您设法使selenium / ff在centos / rh 64位上运行,并且要执行sendkeys函数,我想和您谈谈。

谢谢..

汤姆

C#:

FirefoxProfile profile = new FirefoxProfile();
profile.EnableNativeEvents = true;

您是否为Firefox启用了本机事件,如下所示?

FirefoxProfile profile = new FirefoxProfile();
profile.setEnableNativeEvents(true);
WebDriver driver = new FirefoxDriver(profile);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM