简体   繁体   English

硒-WebDriver-Firefox 64位Linux

[英]selenium - webdriver - firefox 64 bit linux

Trying to test selenium/webdriver, running ff8/fedora 13/64bit. 尝试测试selenium / webdriver,运行ff8 / fedora 13 / 64bit。

Trying to do a simple test of using the sendkeys function to set an input textbox. 尝试做一个简单的测试,使用sendkeys函数设置输入文本框。

I'm running into issues that appear to point to native events not working correctly. 我遇到了似乎表明本地事件无法正常工作的问题。 Tried the selenium IRC channel with not much success. 尝试了硒IRC频道,但没有成功。

It appears that the "x_ignore_nofocus.so" file is not implemented correctly, which apparently affects the ability to correctly handle native events. 似乎“ x_ignore_nofocus.so”文件未正确实现,这显然会影响正确处理本机事件的能力。

If you've managed to get selenium/ff running on centos/rh 64 bit, to do the sendkeys function, I'd like to talk to you. 如果您设法使selenium / ff在centos / rh 64位上运行,并且要执行sendkeys函数,我想和您谈谈。

Thanks.. 谢谢..

tom 汤姆

C#: C#:

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

Did you enable native events for firefox like below? 您是否为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